Skip to main content

ended

Function ended 

Source
fn ended(state: &SnapshotReader<WorldState>) -> bool
Expand description

Whether the world behind a reader of its state 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. A caller that asked waits on this instead of waiting forever.