def store

bendvy-ecs-core@0.1.0.4 · restore_graph_world.bend:15

import bendvy-ecs-core@0.1.0.4/restore_graph_world.bend as RestoreGraphWorld
import Base
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as Relation

15def store(~S:Data,~C:Type,graph:G.Graph<S>,owner:Relation.Store<S,C>) -> Relation.Store<S,C> & Unit:
16  (Relation.graph_replace(~S,~C,owner,graph),Unit{})

Uses (6)

Used by (1)