def Owned

bendvy-ecs-core@0.1.0.4 · ordinary_app_capture_query.bend:20

import bendvy-ecs-core@0.1.0.4/ordinary_app_capture_query.bend as OrdinaryAppCaptureQuery
import Base
import bendvy-ecs-core@0.1.0.4/transaction.bend as T
import bendvy-ecs-core@0.1.0.4/compose.bend as Q
import bendvy-ecs-core@0.1.0.4/ordinary_capture_query.bend as O
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Decl

20# The actual affine capture-query owner is the invocation token. Fields are
21# refreshed from that owner after each execution, including its real cursor.
22# The registered owner of a repeatable query with affine capture L.
23# Retain the actual returned owner, including its capture and reader cursor;
24# metadata alone cannot replace its authority. Normally stored in Invocation.
25def Owned(~S:Data,~C:Type,~R:Type,~E:Data,~L:Type,~Ops:Type -> Type,~Args:Data,~Error:Data,~Out:Data,~query:Decl.Declaration<S,Q.Frame<S,C,R,E>,Ops(Q.Frame<S,C,R,E>)>,~body:@-H:Type -> @-caps:Ops(H) -> L -> Args -> H -> H & (L & (T.Outcome<Error> & Out))) -> Type:O.Owner<S,C,R,E,L,Ops,Args,Error,Out,query,body>

Uses (5)

Used by (8)