MCPcopy Index your code
hub / github.com/Effect-TS/effect / scheduleTask

Method scheduleTask

packages/effect/src/Scheduler.ts:58–64  ·  view source on GitHub ↗
(task: Task, priority: number)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

starveMethod · 0.95
scheduleTaskMethod · 0.65

Tested by

no test coverage detected