def inspect

bendvy-ecs-core@0.1.0.4 · relation_query.bend:89

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

89def inspect(~S:Data,~V:Data,~C:Type,~R:Type,~E:Data,~spec:Spec<S>,tx:X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>>,handle:W.Handle<S>,component:V) -> X.Tx<W.World<S,A.Store<S,C>,R,A.Notice<S,E>>,A.Notice<S,E>> & (Bool & Row<S,V>):
90  match tx:
91    case X.Tx{world,undo,commands,events,trace}: inspect_done(~S,~V,~C,~R,~E,~spec,W.with_store(~S,~A.Store<S,C>,~R,~A.Notice<S,E>,~G.Graph<S>,graph_read(~S,~C),world),handle,component,undo,commands,events,trace)

Uses (13)

Used by (1)