* @since 2.0.0
(task: () => void, priority: number)
| 205 | * @since 2.0.0 |
| 206 | */ |
| 207 | scheduleTask(task: () => void, priority: number) { |
| 208 | this.tasks.scheduleTask(task, priority) |
| 209 | if (this.running === undefined) { |
| 210 | this.running = this.setImmediate(this.afterScheduled) |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * @since 2.0.0 |
nothing calls this directly
no test coverage detected