• 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.

    Type Parameters

    • T

    Parameters

    Returns T