MCPcopy Create free account
hub / github.com/npm/cli / on

Method on

lib/utils/timers.js:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 on () {
22 process.on('time', this.#timeHandler)
23 }
24
25 off () {
26 process.off('time', this.#timeHandler)

Callers 15

constructorMethod · 0.95
baseSpawnFunction · 0.45
constructorMethod · 0.45
dumpScriptFunction · 0.45
editMethod · 0.45
execMethod · 0.45
execMethod · 0.45
onentryMethod · 0.45
constructorMethod · 0.45
setupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected