vue-mvvm / core / AsyncServiceKey
AsyncServiceKey<T>
Can be used to register a service that lives not in a class. Additionally, the factory function is defined as async.
Type Parameters
T
T
Constructors
Constructor
ts
new AsyncServiceKey<T>(name): AsyncServiceKey<T>;Parameters
name
string
Returns
AsyncServiceKey<T>
Properties
name
ts
readonly name: string;Methods
[toPrimitive]()
ts
toPrimitive: string;Returns
string