Haitao Chen
a7094e40b4
waitall fix write on closed channel ( #26 )
...
* try fixing
* fix
* giveup on close channel
* drop variable
* minify diff
* minify changes
* minify changes
* try go leak
* tweaks on tests
* more tweaks on unittest
* merge master and tidy
* codecov improve
2023-04-05 11:50:17 -07:00
Haitao Chen
34c5753c5c
fix waitAll ( #23 )
2022-11-17 14:08:11 -08:00
Haitao Chen
c35056b790
race safe ( #19 )
...
* now race safe
* enable race in Github pipeline
* Microseconds isn't enough on github pipeline
* invoke cancelFunc to avoid context leak
2022-09-06 10:53:10 -07:00
Haitao Chen
22f82519b0
use generics for asyncTasks, no type assertion required ( #14 )
...
* tweaks
* add test for generic version
* continueFunc in generic
* somewhat working
* update to go 1.18
2022-05-31 13:49:21 -07:00
Haitao Chen
1500ff5cd5
implement waitAll ( #5 )
...
* attempt to implement waitAll
* WaitAll with options
* cover context cancel case in WaitAll
* update test comments
* waitAll
* prevent unittest from stuck
* limit all test to finish in 3 seconds
* tweaks
* tweaks
* tweak
* - distinguash softClose and hardClose
- waitOne as a function
2020-05-20 13:00:03 -07:00