def apply_relate

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

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

50def apply_relate(~S:Data,~C:Type,~R:Type,~E:Data,world:W.World<S,Store<S,C>,R,Notice<S,E>>,+descriptor:G.Descriptor<S>,+source:W.Handle<S>,+target:W.Handle<S>) -> W.World<S,Store<S,C>,R,Notice<S,E>>:
51  publish_relate(~S,~C,~R,~E,apply_relate_result(~S,~C,~R,~E,world,descriptor,source,target),descriptor,W.handle_key(~S,source),W.handle_key(~S,target))

Uses (8)

Used by (1)