def read
import bendvy-ecs-core@0.1.0.4/ordinary_app_service.bend as OrdinaryAppServiceimport Base
import bendvy-ecs-core@0.1.0.4/capabilities.bend as Cap
import bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/system.bend as Sys
111# Build an App inventory read capability using snapshot and its debug bypass.
112# Does not grant service invocation or access to the actual payload owner.
113def read(~S:Data,~C:Type,~R:Type,~E:Data,~runner:W.World<S,C,R,E> -> Unit -> Sys.Outcome<W.World<S,C,R,E>,Unit,Unit>,~scan:W.World<S,C,R,E> -> W.World<S,C,R,E> & List<&2,D.Status<S>>) -> Cap.ValueRead<Application<S,C,R,E,runner,scan>,Maybe<&2,Inventory<S>>>:
114 Cap.ValueRead{snapshot(~S,~C,~R,~E,~runner,~scan)}
Uses (11)
Used by (0)
No other definition uses this definition.