MCPcopy
hub / github.com/di-sukharev/opencommit / refresh

Method refresh

out/cli.cjs:48196–48204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48194 this.refresh();
48195 }
48196 refresh() {
48197 if (this.state === -2) {
48198 fastTimers.push(this);
48199 if (!fastNowTimeout || fastTimers.length === 1) {
48200 refreshTimeout();
48201 }
48202 }
48203 this.state = 0;
48204 }
48205 clear() {
48206 this.state = -1;
48207 }

Callers 8

refreshTimeoutFunction · 0.80
constructorMethod · 0.80
setTimeoutMethod · 0.80
resumeMethod · 0.80
onHeadersCompleteMethod · 0.80
onBodyMethod · 0.80
writeMethod · 0.80
endMethod · 0.80

Calls 2

refreshTimeoutFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected