Skip to main content

fork

Function fork 

Source
pub fn fork(world: &mut World, run: Entity) -> Entity
Expand description

Clone a run and its linked graph on the same agent with a new run sequence and scope, omitting effect identity and answer components. Call only between turns, with no turn awaiting an effect; the clone cannot resume excluded dispatch state. Panics if RunCounter or run is absent.