Skip to main content

world_ended

Function world_ended 

Source
pub(crate) fn world_ended(state: &SnapshotReader<WorldState>) -> bool
Expand description

Whether the world behind a port has ended.

A question asked of a world that panicked is never answered, and neither is one asked of a world that stopped: the job is gone with the turn it ran in. An object that asked waits on this instead of waiting forever.