mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
14 lines
337 B
JavaScript
14 lines
337 B
JavaScript
// Idle Service State
|
|
// Purpose: Stores runtime timer and bookkeeping state for idle automation scheduling.
|
|
// Scope: Encapsulates mutable idle-tracking data shared by idle service modules.
|
|
const runtime = {
|
|
timer: null,
|
|
deadlineAt: null,
|
|
lastTriggeredAt: null,
|
|
idleActionsCompleted: false,
|
|
};
|
|
|
|
module.exports = {
|
|
runtime,
|
|
};
|