MCPcopy Create free account
hub / github.com/nodejs/node / constructor

Method constructor

deps/npm/lib/utils/timers.js:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 #finished = {}
13
14 constructor () {
15 super()
16 this.on()
17 time.start(INITIAL_TIMER)
18 this.started = this.#unfinished.get(INITIAL_TIMER)
19 }
20
21 on () {
22 process.on('time', this.#timeHandler)

Callers

nothing calls this directly

Calls 3

onMethod · 0.95
getMethod · 0.65
startMethod · 0.45

Tested by

no test coverage detected