MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / cleanup

Function cleanup

ntp/ntp.ts:82–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 socket.once("error", (err) => {
83 cleanup();
84 reject(err);
85 });
86
87 socket.once("message", (msg, rinfo) => {
88 const t4ms = Date.now();
89 try {
90 // Parse stratum and timestamps

Callers 1

queryOnceFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected