MCPcopy Index your code
hub / github.com/nodejs/node / setTimeout

Method setTimeout

lib/internal/http2/core.js:3509–3516  ·  view source on GitHub ↗
(msecs, callback)

Source from the content-addressed store, hash-verified

3507 }
3508
3509 setTimeout(msecs, callback) {
3510 this.timeout = msecs;
3511 if (callback !== undefined) {
3512 validateFunction(callback, 'callback');
3513 this.on('timeout', callback);
3514 }
3515 return this;
3516 }
3517
3518 updateSettings(settings) {
3519 assertIsObject(settings, 'settings');

Callers 15

responseKeepAliveFunction · 0.45
setSocketTimeoutFunction · 0.45
_http_client.jsFile · 0.45
connectFunction · 0.45
_http_outgoing.jsFile · 0.45
_http_incoming.jsFile · 0.45
_http_agent.jsFile · 0.45
setRequestSocketFunction · 0.45
cleanupFunction · 0.45
establishTunnelFunction · 0.45
createConnectionFunction · 0.45

Calls 1

onMethod · 0.45

Tested by

no test coverage detected