Skip to content

ValueProvider · Core API

type ValueProvider<T> = object;

Provider that resolves a token to an existing value.

Type Parameter

T

readonly provide: Token<T>;

Token registered by this provider.


readonly useValue: T;

Existing value returned for the token.