Project a ResourceState<T> through a selector and return T —
throwing for Suspense or an error boundary as appropriate.
The selector receives a ReadOnlyGraph (capability-narrowed
via narrowCapability at the useCausl boundary) — Mark
Miller's principle of least authority. A selector cannot reach
commit / input / derived / exportModel; the type narrowing
is the compile-time gate, the runtime Proxy throws
CapabilityViolation against as any-coerced leaks. See #229.
Project a
ResourceState<T>through a selector and returnT— throwing for Suspense or an error boundary as appropriate.The selector receives a ReadOnlyGraph (capability-narrowed via
narrowCapabilityat theuseCauslboundary) — Mark Miller's principle of least authority. A selector cannot reachcommit/input/derived/exportModel; the type narrowing is the compile-time gate, the runtime Proxy throwsCapabilityViolationagainstas any-coerced leaks. See #229.