benjamn / benjamn/wryware

Support transactions / mutual exclusion?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
@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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.