def cleared

bendvy-ecs-core@0.1.0.4 · restore_graph_schema.bend:12

import bendvy-ecs-core@0.1.0.4/restore_graph_schema.bend as RestoreGraphSchema
import Base
import bendvy-ecs-core@0.1.0.4/restore_data.bend as R
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G

12def cleared(~S:Data,~C:Type,graph:G.Graph<S>,result:C & List<&2,R.Change<S>>) -> Relation.Store<S,C> & List<&2,R.Change<S>>:
13  match result:
14    case (components,changes):(Relation.Store{components,graph},changes)

Uses (6)

Used by (1)