Skip to content

Interface: InjectionOptions<T>

Defined in: src/wirestate-lit/consumption/injection.ts:34

Represents options for injection.

Type Parameters

Type Parameter
T

Properties

injectionId

ts
injectionId: ServiceIdentifier<T>;

Defined in: src/wirestate-lit/consumption/injection.ts:38

The service identifier to inject.


once?

ts
optional once?: boolean;

Defined in: src/wirestate-lit/consumption/injection.ts:46

Resolve only the first context value.

Remarks

If true, the property will not update when the container context changes. Defaults to false.