def run

bendvy-ecs-core@0.1.0.3 · deferred_command.bend:8

import bendvy-ecs-core@0.1.0.3/deferred_command.bend as DeferredCommand
import Base
import bendvy-ecs-core@0.1.0.3/trace_facts.bend as Facts

8def run(~W:Type,command:Command<W>,world:W,trace:Facts.State) -> W & Facts.State:
9  match command:
10    case Raw{apply}:(apply(world),trace)
11    case Observed{apply}:apply(trace,world)

Uses (4)

Used by (2)