def describe

bendvy-ecs-core@0.1.0.4 · ordinary_resource_system.bend:88

import bendvy-ecs-core@0.1.0.4/ordinary_resource_system.bend as OrdinaryResourceSystem
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/system.bend as Sys

88# Called by an enabled debug bridge; actual Registry is borrowed and reconstructed.
89# Enabled-observation adapter returning actual Owner and detached access clauses.
90# Does not inspect resource payloads or grant access from the presentation slot.
91def describe(~S:Data,~C:Type,~R:Type,~E:Data,~Args:Type,~Error:Data,~Out:Type,~kind:Query.Mode,~runner:W.World<S,C,R,E> -> Args -> Sys.Outcome<W.World<S,C,R,E>,Error,Out>,owner:Owner<S,Sys.Registry<S,C,R,E,Args,Error,Out,runner>,kind>) -> Owner<S,Sys.Registry<S,C,R,E,Args,Error,Out,runner>,kind> & List<&2,Query.Clause<S>>:
92  match owner:
93    case Owner{Sys.Registry{namespace,id,name,+access,cursor},slot}:
94      (Owner{Sys.Registry{namespace,id,name,access,cursor},slot},descriptions(~S,kind,access))

Uses (10)

Used by (0)

No other definition uses this definition.