Import
import { computedFromService } from "@typed/fx/RefSubject";Signatures
export declare function computedFromService<R, A, E, R2>(effect: Effect.Effect<Computed<A, E, R2>, never, R>): Computed<A, E, R | R2>;Why
Defers service lookup until each version read, current read, interruption, or Fx observation, so callers can compose a Context-provided Computed without manually flat-mapping the service Effect.
Ownership and lifetime
The facade caches neither the resolved Computed nor its value. Each operation runs the supplied
Effect, then delegates to the resolved Computed. Service requirements combine as R | R2, source
failures remain E, and the observing Scope owns the delegated subscription.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.