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