def command_spawn

bendvy-ecs-core@0.1.0.4 · compose.bend:140

import bendvy-ecs-core@0.1.0.4/compose.bend as Compose
import Base
import world.bend as W
import capabilities.bend as Cap

140# Build a deferred spawn request grant. populate is trusted structural setup and
141# must consume the actual payload; the Reservation result is not payload recovery.
142def command_spawn(~S: Data,~Store: Type,~R: Type,~E: Data,~Payload: Type,~populate: W.World<S,Store,R,E> -> W.Handle<S> -> Payload -> W.World<S,Store,R,E>) -> Cap.Request<Frame<S,Store,R,E>,Payload,W.Reservation<S>>:
143  Cap.Request{spawn(~S,~Store,~R,~E,~Payload,~populate)}

Uses (6)

Used by (0)

No other definition uses this definition.