def apply_source_result
bendvy-ecs-core@0.1.0.4 · relation_commands.bend:44
import bendvy-ecs-core@0.1.0.4/relation_commands.bend as RelationCommands
import Base
import entity_key.bend as Key
import relation_types.bend as G
import world.bend as W
44def apply_source_result(~S: Data,~C: Type,~R: Type,~E: Data,checked: W.World<S,Store<S,C>,R,Notice<S,E>> & Bool,descriptor: G.Descriptor<S>,source:Key.Key,target:Key.Key,targetHandle: W.Handle<S>) -> W.World<S,Store<S,C>,R,Notice<S,E>> & Maybe<&2,G.Error>:
45 (world,sourceLive) = checked
46 apply_live_result(~S,~C,~R,~E,W.valid(~S,~Store<S,C>,~R,~Notice<S,E>,world,targetHandle),descriptor,source,target,sourceLive)