Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
on
Method · 0.95
get
Method · 0.65
start
Method · 0.45
Tested by
no test coverage detected