1 | import { EventEmitter } from "events";
|
2 | /**
|
3 | * @group Utils
|
4 | */
|
5 | export declare function PromiseTimeout(timeout: number): Promise<void>;
|
6 | /**
|
7 | * @group Utils
|
8 | */
|
9 | export declare function awaitEventOnce<Obj extends EventEmitter, Event extends string, T>(element: Obj, event: Event, timeout?: number): Promise<T>;
|
10 | /**
|
11 | * @group Utils
|
12 | */
|
13 | export declare function awaitEventOnce<Obj extends EventEmitter, Event extends string>(element: Obj, event: Event, timeout?: number): Promise<void>;
|
14 | //# sourceMappingURL=promise-utils.d.ts.map |
\ | No newline at end of file |