MCPcopy Create free account
hub / github.com/Effect-TS/effect / scheduleTask

Method scheduleTask

packages/effect/src/Scheduler.ts:68–68  ·  view source on GitHub ↗
(task: () => void, priority: number)

Source from the content-addressed store, hash-verified

66 */
67export interface SchedulerDispatcher {
68 scheduleTask(task: () => void, priority: number): void
69 flush(): void
70}
71

Callers 15

connectMethod · 0.65
cancelMethod · 0.65
makeDispatcherMethod · 0.65
onFinishFunction · 0.65
loopFunction · 0.65
scheduleDeliverMethod · 0.65
Scheduler.test.tsFile · 0.65
makeDispatcherFunction · 0.65
Sharding.test.tsFile · 0.65
commitTransactionFunction · 0.65
scheduleReleaseTakerFunction · 0.65
Queue.tsFile · 0.65

Implementers 4

MixedSchedulerDispatcherpackages/effect/src/Scheduler.ts
HtmlSchedulerpackages/effect/src/ui/html/HtmlSchedu
TestExecutorpackages/effect/src/ui/internal/execut
TrackingSchedulerpackages/effect/src/testing/TestClock.

Calls

no outgoing calls

Tested by 3

connectMethod · 0.52
cancelMethod · 0.52
makeDispatcherMethod · 0.52