def receipt

bendvy-ecs-core@0.1.0.3 · execution_relation_buffer.bend:16

import bendvy-ecs-core@0.1.0.3/execution_relation_buffer.bend as ExecutionRelationBuffer
import Base
import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as Buffer
import bendvy-ecs-core@0.1.0.3/execution_relation_resource_dispatch.bend as Dispatch
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout

16def receipt(-S:Data,-P:Type,-D:Type,route:Layout.Route,result:Dispatch.Outcome<S>) -> Buffer.Receipt<S,P,D>:
17  match result:
18    case Dispatch.Published{receipt}:Buffer.RelationPublished{route,receipt}
19    case Dispatch.Undeclared{operation}:Buffer.RelationUndeclared{route,operation}

Uses (3)

Used by (1)