Add a scheduler type to the task API #3497
Labels
A-runtime
Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I've resisted having first class schedulers in the task API, but sometimes you do want to spawn functions onto schedulers that you aren't running on.
Add a way to get the current scheduler. Add a way to create new schedulers. Remove the code from task builder that deals with schedulers - if you want a scheduler you make one.
The text was updated successfully, but these errors were encountered: