type Run

bendvy-ecs-core@0.1.0.4 · local.bend:23

import bendvy-ecs-core@0.1.0.4/local.bend as Local
import Base
import bendvy-ecs-core@0.1.0.4/change_tick.bend as Tick
import bendvy-ecs-core@0.1.0.4/world.bend as W

23# Completed returns World, retained Local instance and success/error result.
24# Refused returns those owners and original Args before runner execution.
25# Runner failure retains its returned Local modifications, not an old copy.
26type Run<S: Data,C: Type,R: Type,E: Data,L: Type,Args: Type,Error: Data,Out: Type,-runner: W.World<S,C,R,E> -> L -> Args -> Outcome<W.World<S,C,R,E>,L,Error,Out>> is Type:
27  Completed{world: W.World<S,C,R,E>,instance: Instance<S,C,R,E,L,Args,Error,Out,runner>,result: Result<&2,&1,Error,Out>,tick:Tick.Tick}
28  Refused{world: W.World<S,C,R,E>,instance: Instance<S,C,R,E,L,Args,Error,Out,runner>,args: Args}

Uses (5)

Used by (9)