| 50 | } |
| 51 | |
| 52 | interface WritableErrorMonitor { |
| 53 | cleanup(): void; |
| 54 | race<T>(promise: Promise<T>): Promise<T>; |
| 55 | throwIfClosed(): void; |
| 56 | } |
| 57 | |
| 58 | function monitorWritableError(writable: Writable): WritableErrorMonitor { |
| 59 | let settled = false; |
no outgoing calls
no test coverage detected
searching dependent graphs…