deferred_command.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/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.
Raw@W:Type -> @apply:(@_:W -> W) -> Command<W>
Observed@W:Type -> @apply:(@_:0x704c77730661eff4309838fc738ef615/trace_facts.State -> @_:W -> Pair(W, 0x704c77730661eff4309838fc738ef615/trace_facts.State)) -> Command<W>
Templates
template run source · line 8 · raw
@-W:Type -> @command:Command<W> -> @world:W -> @trace:0x704c77730661eff4309838fc738ef615/trace_facts.State -> Pair(W, 0x704c77730661eff4309838fc738ef615/trace_facts.State)
template world_only source · line 12 · raw
@-W:Type -> @result:Pair(W, 0x704c77730661eff4309838fc738ef615/trace_facts.State) -> W
template run_disabled source · line 15 · raw
@-W:Type -> @command:Command<W> -> @world:W -> W