MCPcopy Create free account
hub / github.com/EvoMap/evolver / notifyNewOutbound

Method notifyNewOutbound

src/proxy/sync/engine.js:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 notifyNewOutbound() {
46 this._lastActivity = Date.now();
47 if (this._running && !this._outPending) {
48 if (this._outTimer) clearTimeout(this._outTimer);
49 this._scheduleOutbound(100);
50 }
51 }
52
53 _isIdle() {
54 return (Date.now() - this._lastActivity) > IDLE_THRESHOLD;

Callers 2

startMethod · 0.80

Calls 1

_scheduleOutboundMethod · 0.95

Tested by

no test coverage detected