| 5 | import type { Log } from './types'; |
| 6 | |
| 7 | interface Deferred<T> { |
| 8 | promise: Promise<T>; |
| 9 | resolve: (value: T | PromiseLike<T>) => void; |
| 10 | reject: (reason?: any) => void; |
| 11 | } |
| 12 | |
| 13 | const promiseMap = new Map<string, Deferred<any>>(); |
| 14 |
nothing calls this directly
no outgoing calls
no test coverage detected