def relate_tx

bendvy-ecs-core@0.1.0.4 · relation_providers.bend:56

import bendvy-ecs-core@0.1.0.4/relation_providers.bend as RelationProviders
import Base
import relation_types.bend as G
import relation_commands.bend as A
import world.bend as W
import transaction.bend as X

56def relate_tx(~S: Data,~C: Type,~R: Type,~E: Data,~descriptor: G.Descriptor<S>,tx: X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>>,targets: Targets<S>) -> X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>> & A.QueueStatus:
57  match targets:
58    case Targets{source,target}: A.queue_relate(~S,~C,~R,~E,tx,descriptor,source,target)

Uses (9)

Used by (1)