MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / close

Method close

lib/load.js:45–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 close() {
46 debug(`LoadEstimator.close(): jobType = ${this.jobType}`);
47 this.active = false;
48 if (this.timeoutID != null) {
49 debug(`LoadEstimator.close(): jobType = ${this.jobType}, clearing timeout`);
50 clearTimeout(this.timeoutID);
51 }
52 }
53
54 _getAndResetLoadEstimate() {
55 debug(`LoadEstimator._getAndResetLoadEstimate(): jobType = ${this.jobType}`);

Callers 15

server.jsFile · 0.80
socket.io.jsFile · 0.80
freezeTransportFunction · 0.80
closeFunction · 0.80
backbone.jsFile · 0.80
css_defaultDisplayFunction · 0.80
text.jsFile · 0.80
backbone.jsFile · 0.80
SimpleClient.jsFile · 0.80
jquery-ui.jsFile · 0.80
ltiOutcomes.jsFile · 0.80
closeFunction · 0.80

Calls 1

debugFunction · 0.85

Tested by

no test coverage detected