Support transactions / mutual exclusion?
Open
@wry/task
enhancement
question
- Dominant language
- TypeScript
- Stars
- 91
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
It would be super amazing if `Task`s could temporarily preclude the execution of `Task` callbacks not related to the current `Task`, while still enabling asynchronous execution of related (child?) `Task`s.
A naive implementation could simply postpone excluded callbacks until later, but a more efficient implementation would wait to signal those excluded callbacks until they have a chance of executing, once the transaction has completed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.