We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Does it support structured concurrency in some way?
https://en.wikipedia.org/wiki/Structured_concurrency
The text was updated successfully, but these errors were encountered:
There are several ways to control and wait the sub coroutines
unsafe { j.coroutine().cancel() };
May also support scoped version spawn. which would block until all the scoped coroutine finished. ref example
the join! macro would block until all the block finish, it's basically a scoped spawn for convenience. ref example
the select! macro block until any coroutine finish. ref example
there is also advanced sub coroutine control mechanism called cqueue which is the underlying implementation of the previous macros.
Sorry, something went wrong.
No branches or pull requests
Does it support structured concurrency in some way?
https://en.wikipedia.org/wiki/Structured_concurrency
The text was updated successfully, but these errors were encountered: