ServiceKey
Defined in: EngineContext.ts:2
A typed key for service registration and resolution.
Type Parameters
Section titled “Type Parameters”T
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ServiceKey<
T>(id):ServiceKey<T>
Defined in: EngineContext.ts:3
Parameters
Section titled “Parameters”string
Unique string identifier for this service.
Returns
Section titled “Returns”ServiceKey<T>
Properties
Section titled “Properties”
readonly_type:T
Defined in: EngineContext.ts:9
Phantom field to preserve the generic type.
readonlyid:string
Defined in: EngineContext.ts:5
Unique string identifier for this service.