type-alias / @typed/fx/RefSubject

Identifier

Describes the identifier type.

Package version
2.0.0-beta.7
Category
Type utilities
Since
1.18.0

Import

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

Signatures

export type Identifier<T> = T extends RefSubject.Service<infer R, infer _Id, infer _A, infer _E> ? R : never;

Why

Extracts the Context service identifier type represented by a RefSubject service facade.

Ownership and lifetime

Identifier 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