def relate_result

bendvy-ecs-core@0.1.0.4 · relation_commands.bend:31

import bendvy-ecs-core@0.1.0.4/relation_commands.bend as RelationCommands
import Base
import relation_types.bend as G

31def relate_result(~S: Data,~C: Type,result: G.CoreResult<S>,components: C) -> Store<S,C> & Maybe<&2,G.Error>:
32  match result:
33    case G.CoreResult{graph,error}: (Store{components,graph},error)

Uses (6)

Used by (2)