type-alias / @typed/fx/RefSubject

RefSubject.Any

Describes the any type.

Package version
2.0.0-beta.13
Category
Type utilities
Since
1.18.0
Member of
RefSubject

Import

import { RefSubject } from "@typed/fx/RefSubject";

Access RefSubject.Any through the imported RefSubject export. Its declaration below describes the member.

Signatures

type Any = RefSubject<any, any, any> | RefSubject<any, any> | RefSubject<any, never, any> | RefSubject<any>;

Why

Gives generic utilities one structural supertype for writable RefSubject values while leaving concrete value, error, and service channels available to conditional types.

Ownership and lifetime

Any is a contract and performs no acquisition. Implementations retain the errors, services, interruption, and Scope requirements expressed by its members.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source