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

Function timerBatched

packages/effect/src/Scheduler.ts:349–350  ·  view source on GitHub ↗
(ms: number, shouldYield: Scheduler["shouldYield"] = defaultShouldYield)

Source from the content-addressed store, hash-verified

347 * @category constructors
348 */
349export const timerBatched = (ms: number, shouldYield: Scheduler["shouldYield"] = defaultShouldYield) =>
350 makeBatched((task) => setTimeout(task, ms), shouldYield)
351
352/** @internal */
353export const currentScheduler: FiberRef<Scheduler> = globalValue(

Callers

nothing calls this directly

Calls 1

makeBatchedFunction · 0.70

Tested by

no test coverage detected