* Flush all contexts with pending work. Useful during tear-down.
()
| 179 | * Flush all contexts with pending work. Useful during tear-down. |
| 180 | */ |
| 181 | flushAll(): void { |
| 182 | for (const contextId of Array.from(this.contexts.keys())) { |
| 183 | this.flush(contextId) |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | /** Clear all scheduled jobs for a context. */ |
| 188 | clear(contextId: SchedulerContextId): void { |
no test coverage detected