def resource_get

bendvy-ecs-core@0.1.0.4 · compose.bend:82

import bendvy-ecs-core@0.1.0.4/compose.bend as Compose
import Base
import resource.bend as Res

82# Advanced whole-resource read through its owner-returning detached projection.
83# Preserves the current handle/error/cursor; the projector is trusted provisioning.
84def resource_get(~S: Data,~Store: Type,~R: Type,~E: Data,~V: Data,~project: R -> R & V,frame: Frame<S,Store,R,E>) -> Frame<S,Store,R,E> & V:
85  match frame:
86    case Frame{tx,handle,error,cursor}: value_join(~S,~Store,~R,~E,~V,handle,error,cursor,Res.tx_get(~S,~Store,~R,~E,~V,~project,tx))

Uses (4)

Used by (2)