sourcegraph / conc

Better structured concurrency for go
https://about.sourcegraph.com/blog/building-conc-better-structured-concurrency-for-go
MIT License
9.05k stars 312 forks source link

Added successful case for context pool, returns before timeout #94

Closed zhongdai closed 1 year ago

zhongdai commented 1 year ago

I think we need an example of, if the tasks return before the context cancelled due to timeout, it should success

codecov-commenter commented 1 year ago

Codecov Report

Merging #94 (afc22ed) into main (7b8c8f2) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   99.30%   99.30%           
=======================================
  Files          12       12           
  Lines         429      429           
=======================================
  Hits          426      426           
  Misses          3        3           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more