Import
import { RefSubject } from "@typed/fx";Access RefSubject.HydratedRefSubject through the imported RefSubject export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export interface HydratedRefSubject<A, E = never, R = never, RH = R> extends RefSubject<A, E, R>, HydrationRef<E, RH> {
}export declare namespace HydratedRefSubject {
type Any = HydratedRefSubject<any, any, any, any>;
type HydrationError<T> = T extends HydrationRef<infer E, any> ? E : never;
type HydrationServices<T> = T extends HydrationRef<any, infer R> ? R : never;
}Why
Combines writable renderer-independent state with its hydration boundary so restoration precedes ordinary pushed updates.
Ownership and lifetime
HydratedRefSubject is a contract and performs no acquisition. Implementations retain the errors, services, interruption, and Scope requirements expressed by its members.
Members
RefSubject.HydratedRefSubject.AnyDescribes the any type.
RefSubject.HydratedRefSubject.HydrationErrorDescribes the hydration error type.
RefSubject.HydratedRefSubject.HydrationServicesDescribes the hydration services type.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.