def enqueue

bendvy-ecs-core@0.1.0.3 · world.bend:212

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

212# Wrap a raw World-to-World closure as a deferred command. No immediate effect
213# or automatic transaction inverse is supplied for the callback.
214def 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>:
215  enqueue_command(~S,~C,~R,~E,world,Deferred.Raw{command})

Uses (3)

Used by (0)

No other definition uses this definition.