Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Haitao Chen 442a02a75b
remove restriction on return pointer value of TypeParameter (#33)
* remove pointer bind

* Change sync.Mutex to sync.RWMutex in Task struct

* Update go.mod to use go 1.20

* tweaks
2023-11-13 14:08:57 -08:00
Haitao Chen 4621b563cf
after both, actionToFunc (#21)
* try afterBoth

* update after_both

* ActionToFunc

* more tweaks

* remove afterAll, ready to merge to main

* code coverage

* update comments
2022-10-27 15:55:38 -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 e0e3198f1a
implement continueWith (#8)
* attempt to implement waitAll

* WaitAll with options

* cover context cancel case in WaitAll

* update test comments

* waitAll

* continueWith

* test continue with

* unittest for ContinueWith

* tweaks
2020-10-06 00:27:33 -07:00