def resource_insert_join

bendvy-ecs-core@0.1.0.4 · restore_schema.bend:42

import bendvy-ecs-core@0.1.0.4/restore_schema.bend as RestoreSchema
import Base
import bendvy-ecs-core@0.1.0.4/restore_leaf.bend as Stage
import bendvy-ecs-core@0.1.0.4/snapshot_leaf.bend as Leaf
import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Identity
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D

42def resource_insert_join(~S:Data,~Context:Type,~I:Type,~P:Type,~identity:Identity.Declaration<S,P>,~project:P -> P & D.Raw,observed:Leaf.Resource<S,P,identity,project> & Stage.State<Context,I,P>) -> (Unit & Leaf.Resource<S,P,identity,project>) & Stage.State<Context,I,P>:
43  match observed:
44    case (owner,state):((Unit{},owner),state)

Uses (7)

Used by (1)