UNPKG

timeline-state-resolver

Version:
15 lines 436 B
/** * A WaitGroup is used to wait for a number of operations to complete, or timeout */ export declare class WaitGroup { #private; /** * Resolve all waiting operations for a key, with success */ clearAllForKey(key: string): void; /** * Wait for a key to be resolved (true), or timeout (false) */ waitOnKey(key: string, delay: number): Promise<boolean>; } //# sourceMappingURL=waitGroup.d.ts.map