~/bend-docscommunity

deferred_command.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.5/deferred_command.bend as Deferred_command

2 imports
import Base
import ./trace_facts.bend as Facts

Types

type Command source · line 5 · raw

@W:Type -> Type

Each staged command owns its payload once. Trusted raw callbacks stay opaque.

Templates

template run source · line 8 · raw

@-W:Type -> @command:Command<W> -> @world:W -> @trace:0x2a0aaf4f2cb3f416a9b91fd887916a5d/trace_facts.State -> Pair(W, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/trace_facts.State)

template world_only source · line 12 · raw

@-W:Type -> @result:Pair(W, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/trace_facts.State) -> W

template run_disabled source · line 15 · raw

@-W:Type -> @command:Command<W> -> @world:W -> W