Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ close
Method
close
modules/network/ping/ping.js:79–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
this.close();
78
}
79
close() {
80
Timer.clear(this.#timer);
81
this.#timer = undefined;
82
this.#callback = undefined;
83
84
super.close();
85
}
86
callback(message, value, address) {
87
if
(2 !== message)
return
;
88
if
(76 !== value)
Callers
1
failed
Method · 0.95
Calls
2
close
Method · 0.65
clear
Method · 0.45
Tested by
no test coverage detected