def drain_fifo
import bendvy-ecs-core@0.1.0.3/world.bend as Worldimport Base
import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred
216def drain_fifo(~S:Data,~C:Type,~R:Type,~E:Data,commands:List<Deferred.Command<World<S,C,R,E>>>,world:World<S,C,R,E>) -> World<S,C,R,E>:
217 match commands:
218 case []:world
219 case command <> rest:Deferred.run_disabled(~World<S,C,R,E>,command,drain_fifo(~S,~C,~R,~E,rest,world))
Uses (4)
Used by (0)
No other definition uses this definition.