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

Function withClockScoped

packages/effect/src/internal/fiberRuntime.ts:3030–3031  ·  view source on GitHub ↗
(c: C)

Source from the content-addressed store, hash-verified

3028
3029/* @internal */
3030export const withClockScoped = <C extends Clock.Clock>(c: C) =>
3031 fiberRefLocallyScopedWith(defaultServices.currentServices, Context.add(clock.clockTag, c))
3032
3033/* @internal */
3034export const withRandomScoped = <A extends Random.Random>(value: A) =>

Callers

nothing calls this directly

Calls 2

addMethod · 0.65

Tested by

no test coverage detected