MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / close

Method close

modules/network/sntp/sntp.js:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84 }
85 close() {
86 Timer.clear(this.#timer);
87 this.#timer = undefined;
88
89 super.close();
90 }
91 callback(message, value) {
92 if (Socket.readable !== message)
93 return;

Callers 2

failedMethod · 0.95
callbackMethod · 0.95

Calls 2

closeMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected