mirror of https://github.com/Hypfer/Valetudo.git
20 lines
381 B
JavaScript
20 lines
381 B
JavaScript
const NotImplementedError = require("../../core/NotImplementedError");
|
|
|
|
/**
|
|
* @abstract
|
|
* @public
|
|
*/
|
|
class HassAnchorSubscriber {
|
|
/**
|
|
* @package
|
|
* @abstract
|
|
* @param {import("./HassAnchor")} anchor
|
|
* @return {Promise<void>}
|
|
*/
|
|
async onAnchorPost(anchor) {
|
|
throw new NotImplementedError();
|
|
}
|
|
}
|
|
|
|
module.exports = HassAnchorSubscriber;
|