def queued
bendvy-ecs-core@0.1.0.4 · relation_reorder.bend:77
import bendvy-ecs-core@0.1.0.4/relation_reorder.bend as RelationReorder
import Base
import bendvy-ecs-core@0.1.0.4/trace_facts.bend as TraceFacts
import relation_types.bend as G
import relation_commands.bend as A
import world.bend as W
import transaction.bend as X
77def queued(~S:Data,~C:Type,~R:Type,~E:Data,~d:G.HierarchyDescriptor<S>,same:Bool,tx:X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>>,args:Args<S>) -> X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>> & A.QueueStatus:
78 match same:
79 case False{}: (reordered_stage(~S,~C,~R,~E,~d,args,TraceFacts.Refused{"MissingEntity"},tx),A.MissingEntity{})
80 case True{}: (reorder_staged(~S,~C,~R,~E,~d,args,tx),A.Queued{})