You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).
The text was updated successfully, but these errors were encountered: