UNPKG

@triviality/core

Version:
16 lines (15 loc) 483 B
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>; }