()
| 158 | } |
| 159 | |
| 160 | async function dispose(): Promise<void> { |
| 161 | for (const timer of timers.values()) { |
| 162 | clearTimeout(timer) |
| 163 | } |
| 164 | timers.clear() |
| 165 | await flushAll() |
| 166 | await waitForWrites() |
| 167 | } |
| 168 | |
| 169 | return { |
| 170 | enqueue, |
nothing calls this directly
no test coverage detected