Simple mimic of async/await for those come from C# world, now you can Cancel(), Wait() on a go routine.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/Azure/go-asynctask/compare/v1.7.0...v1.7.1
Published by haitch 9 months ago
Full Changelog: https://github.com/Azure/go-asynctask/compare/v1.6.0...v1.7.0
Published by haitch 11 months ago
Published by Xinyue-Wang over 1 year ago
Add WaitAny to this package:
WaitAny will block current thread til any of task completed.
If FailOnAnyError is set, first error from any tasks passed in will be returned
Published by haitch over 1 year ago
Published by haitch almost 2 years ago
Published by haitch almost 2 years ago
Published by haitch almost 2 years ago
Published by haitch almost 2 years ago
after both
after all
actionToFunc
Published by haitch about 2 years ago
pre-release for after both, after all.
Published by haitch about 2 years ago
now this package is safe when running go test -race
Published by haitch over 2 years ago
Introduce AfterAll{3,4,5} for easy task chaining.
Published by haitch over 2 years ago
Published by haitch over 2 years ago
Now using go generics, but this will break previous version.
Published by haitch about 4 years ago
Published by haitch over 4 years ago
Published by haitch over 4 years ago
fix a panic bug while check nil error pointer
Published by haitch over 4 years ago