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

WaitAsync forceAsync flag #95

Closed
timcassell opened this issue Jul 21, 2022 · 0 comments · Fixed by #99
Closed

WaitAsync forceAsync flag #95

timcassell opened this issue Jul 21, 2022 · 0 comments · Fixed by #99
Labels
enhancement New feature or request
Milestone

Comments

@timcassell
Copy link
Owner

Currently, for optimization purposes, if it is currently executing on the same context that was provided to WaitAsync or Run or Progress, the continuation will be invoked synchronously. This may not be desired in some instances if the user wants to force an action to run on a separate thread for increased parallelization. For that we can add an optional forceAsync flag to WaitAsync, Run, and Progress functions that, if true, will always schedule the continuation on the desired context. The default will be false.

@timcassell timcassell added the enhancement New feature or request label Jul 21, 2022
@timcassell timcassell modified the milestones: v2.x.0, v2.2.0 Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant