Skip to content

ServiceKey

Defined in: EngineContext.ts:2

A typed key for service registration and resolution.

T

new ServiceKey<T>(id): ServiceKey<T>

Defined in: EngineContext.ts:3

string

Unique string identifier for this service.

ServiceKey<T>

readonly _type: T

Defined in: EngineContext.ts:9

Phantom field to preserve the generic type.


readonly id: string

Defined in: EngineContext.ts:5

Unique string identifier for this service.