Valetudo/backend/lib/scheduler/pre_actions/ValetudoTimerPreAction.js

23 lines
460 B
JavaScript

const NotImplementedError = require("../../core/NotImplementedError");
class ValetudoTimerPreAction {
/**
* @abstract
* @param {object} options
* @param {import("../../core/ValetudoRobot")} options.robot
*/
constructor(options) {
this.robot = options.robot;
}
/**
* @returns {Promise<void>}
*/
async run() {
throw new NotImplementedError();
}
}
module.exports = ValetudoTimerPreAction;