def enqueue

bendvy-ecs-core@0.1.0.4 · world.bend:210

import bendvy-ecs-core@0.1.0.4/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.4/deferred_command.bend as Deferred

210# Wrap a raw World-to-World closure as a deferred command. No immediate effect
211# or automatic transaction inverse is supplied for the callback.
212def enqueue(~S:Data,~C:Type,~R:Type,~E:Data,world:World<S,C,R,E>,command:World<S,C,R,E> -> World<S,C,R,E>) -> World<S,C,R,E>:
213  enqueue_command(~S,~C,~R,~E,world,Deferred.Raw{command})

Uses (3)

Used by (0)

No other definition uses this definition.