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

Function withClockScoped

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

Source from the content-addressed store, hash-verified

3018
3019/* @internal */
3020export const withClockScoped = <C extends Clock.Clock>(c: C) =>
3021 fiberRefLocallyScopedWith(defaultServices.currentServices, Context.add(clock.clockTag, c))
3022
3023/* @internal */
3024export const withRandomScoped = <A extends Random.Random>(value: A) =>

Callers

nothing calls this directly

Calls 2

addMethod · 0.65

Tested by

no test coverage detected