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
Task::spawn_many
Task::try_spawn_many
If one of the inputs to Task::spawn was &Bus, lifeline could create and execute a group of message receivers, not just one.
Lifeline would take the bus, and a FnMut spawn function which receives &Bus and returns a Future. That would pull channels off the bus using rx::()?.
spawn_many would take a core size, and a max size. If the core size could not be fulfilled, the spawn would fail.
The text was updated successfully, but these errors were encountered:
This is interesting. Multiple tasks will need to share a lifeline value.
Sorry, something went wrong.
No branches or pull requests
If one of the inputs to Task::spawn was &Bus, lifeline could create and execute a group of message receivers, not just one.
Lifeline would take the bus, and a FnMut spawn function which receives &Bus and returns a Future. That would pull channels off the bus using rx::()?.
spawn_many would take a core size, and a max size. If the core size could not be fulfilled, the spawn would fail.
The text was updated successfully, but these errors were encountered: