Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support transactions / mutual exclusion? #2

Open
benjamn opened this issue Mar 28, 2019 · 0 comments
Open

Support transactions / mutual exclusion? #2

benjamn opened this issue Mar 28, 2019 · 0 comments
Labels
enhancement New feature or request question Further information is requested @wry/task

Comments

@benjamn
Copy link
Owner

benjamn commented Mar 28, 2019

It would be super amazing if Tasks could temporarily preclude the execution of Task callbacks not related to the current Task, while still enabling asynchronous execution of related (child?) Tasks.

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.

@benjamn benjamn added enhancement New feature or request question Further information is requested @wry/task labels Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested @wry/task
Projects
None yet
Development

No branches or pull requests

1 participant