(task: Task, priority: number)
| 56 | } |
| 57 | |
| 58 | scheduleTask(task: Task, priority: number) { |
| 59 | this.tasks.scheduleTask(task, priority) |
| 60 | if (!this.running) { |
| 61 | this.running = true |
| 62 | this.starve() |
| 63 | } |
| 64 | } |
| 65 | /** |
| 66 | * @since 3.20.0 |
| 67 | * @category constructors |
nothing calls this directly
no test coverage detected