Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / src/public-api / inject

Function: inject()

inject<T>(token): T

Defined in: projects/libraries/streamix/src/lib/atoms/scope.ts:493

Resolves a dependency from the current scope container, falling back to the global container.

Type Parameters

T

T

Parameters

token

Token<T>

Returns

T

Released under the GNU AGPL v3 or later.