~/bend-docscommunity

owned_event_scope.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/owned_event_scope.bend as Owned_event_scope

2 imports
import Base
import ./capabilities.bend as Cap

Templates

template provide source · line 6 · raw

@-Owner:Type -> @-Request:Type -> @-Projection:Data -> @-Args:Type -> @-Observation:Type -> @-at:(@_:Owner -> @_:Request -> Pair(Owner, Projection)) -> @-body:(@-H:Type -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @_:H -> @_:Args -> Pair(H, Observation)) -> @owner:Owner -> @args:Args -> Pair(Owner, Observation)

Trusted schema projection preserves its payload owner. Gameplay sees only H. All runtime arguments and result types are fixed before abstract payload H.

template request source · line 8 · raw

@-H:Type -> @-Request:Type -> @-Projection:Data -> @-read:0x14a72e1c180a5ab1f8a056d43822425c/capabilities.Request<H, Request, Projection> -> @owner:H -> @input:Request -> Pair(H, Projection)