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

Function log

packages/sql/pg/test/utils.ts:39–39  ·  view source on GitHub ↗
(state: string)

Source from the content-addressed store, hash-verified

37 if (!lifecycleEnabled) return run()
38 const started = Date.now()
39 const log = (state: string) => lifecycleLog(id, step, state, Date.now() - started)
40 log("start")
41 const pending = setInterval(() => log("pending"), 5_000)
42 pending.unref()

Callers 2

lifecycleFunction · 0.70
interruptedFunction · 0.70

Calls 1

lifecycleLogFunction · 0.85

Tested by

no test coverage detected