-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
There are situations when it would be helpful to pause an entire nursery.
This would be more powerful than pausing a clock because pausing a clock still allows tasks to resume for input events or concurrency primitives.
For example, a pause screen needs to pause the entire game, including controls like the fire button.
Pausing a nursery would entail pausing all tasks within it, the task inside the nursery context, and any nurseries linked to those tasks, recursively. Paused means that if the task is resumed it will not actually be run until unpaused.
Pausing will need to be scoped so that if two of the containing nurseries for a task are paused the task will not run until both nurseries are unpaused (not either).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels