def inspect

bendvy-ecs-core@0.1.0.4 · inspector_failure_projection.bend:52

import bendvy-ecs-core@0.1.0.4/inspector_failure_projection.bend as InspectorFailureProjection
import Base
import bendvy-ecs-core@0.1.0.4/capabilities.bend as Cap
import bendvy-ecs-core@0.1.0.4/inspector_stream_frame.bend as F

52# Build the read capability for this declaration. It exposes only selected
53# failures and timing metadata, returning the affine frame after inspection.
54def inspect(~S:Data,~C:Type,~R:Type,~E:Data,~declaration:Declaration<S>) -> Cap.ValueRead<F.Frame<S,C,R,E>,FailureView<S,E>>:
55  Cap.ValueRead{frame => read(~S,~C,~R,~E,descriptor(~S,declaration),frame)}

Uses (6)

Used by (1)