Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bee-queue/bee-queue
/ _schedule
Method
_schedule
lib/eager-timer.js:63–69 ·
view source on GitHub ↗
(time)
Source
from the content-addressed store, hash-verified
61
}
62
63
_schedule(time) {
64
const
duration = time - Date.now();
65
66
this._stop();
67
this._nextTime = time;
68
this._timer = setTimeout(this._boundTrigger, duration);
69
}
70
71
_trigger() {
72
const
now = Date.now(),
Callers
2
schedule
Method · 0.95
_trigger
Method · 0.95
Calls
1
_stop
Method · 0.95
Tested by
no test coverage detected