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

Function waitClock

packages/effect/src/internal/sql.ts:26–27  ·  view source on GitHub ↗
(fiber: Fiber.Fiber<unknown, unknown>)

Source from the content-addressed store, hash-verified

24 * @internal
25 */
26export const waitClock = (fiber: Fiber.Fiber<unknown, unknown>): Clock | undefined =>
27 fiber.getRef(TracerTimingEnabled) ? fiber.getRef(Clock) : undefined
28
29/**
30 * Records the time from the span's start to the connection hand-off as

Callers 3

streamFunction · 0.90
runOnConnectionFunction · 0.90
makeWithTransactionFunction · 0.90

Calls 1

getRefMethod · 0.80

Tested by

no test coverage detected