Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ flush
Method
flush
packages/effect/src/Scheduler.ts:238–246 ·
view source on GitHub ↗
* @since 2.0.0
()
Source
from the content-addressed store, hash-verified
236
* @since 2.0.0
237
*/
238
flush() {
239
while
(this.tasks.buckets.length > 0) {
240
if
(this.running !== undefined) {
241
this.running()
242
this.running = undefined
243
}
244
this.runTasks()
245
}
246
}
247
}
248
249
/**
Callers
nothing calls this directly
Calls
1
runTasks
Method · 0.95
Tested by
no test coverage detected