def relation

bendvy-ecs-core@0.1.0.3 · execution_command_buffer.bend:51

import bendvy-ecs-core@0.1.0.3/execution_command_buffer.bend as ExecutionCommandBuffer
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/execution_relation_operation.bend as Operation

51def relation(~S:Data,~P:Type,~D:Type,buffer:Buffer<S,P,D>,route:Layout.Route,operation:Operation.Operation<S>) -> Buffer<S,P,D>:
52  match buffer:
53    case Buffer{pending,receipts}:Buffer{Relation{route,operation} <> pending,receipts}

Uses (5)

Used by (2)