type-alias / @typed/fx/Versioned

Versioned.VersionContext

Extracts the context required to get the version.

Package version
2.0.0-beta.7
Category
Type utilities
Since
1.0.0
Member of
Versioned

Import

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

Access Versioned.VersionContext through the imported Versioned export. Its declaration below describes the member.

Signatures

type VersionContext<T> = T extends Versioned<infer R, any, any, any, any, any, any, any> ? R : never;

Why

Extracts only the services required to sample a Versioned token, which may differ from the push and current-read environments.

Ownership and lifetime

VersionContext 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