@triviality/core
Version:
Purely typed service container
16 lines (15 loc) • 483 B
TypeScript
import { BaseServiceFactoryReference } from './BaseServiceFactoryReference';
import { FeatureFactory } from '../FeatureFactory';
/**
*/
export declare class AsyncServiceFunctionReference extends BaseServiceFactoryReference {
private async;
private promise;
readonly type = "async";
constructor(async: () => Promise<any>, feature: FeatureFactory<any>);
label(): string;
/**
* Wait for this service to be invoked.
*/
wait: () => Promise<void>;
}