def pending_ready
import bendvy-ecs-core@0.1.0.4/snapshot_data.bend as SnapshotDataimport Base
import bendvy-ecs-core@0.1.0.4/deferred_command.bend as Deferred
21def pending_ready(~World:Type,pending:List<Deferred.Command<World>>) -> List<Deferred.Command<World>> & Bool:
22 match pending:
23 case []:([],True{})
24 case command <> rest:(command <> rest,False{})