16 lines
490 B
JavaScript
16 lines
490 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.GetStatus = void 0;
|
|
const Watchable_1 = require("./Watchable");
|
|
class GetStatus extends Watchable_1.Watchable {
|
|
constructor(effects, opts = {}) {
|
|
super(effects);
|
|
this.opts = opts;
|
|
this.label = 'GetStatus';
|
|
}
|
|
fetch(callback) {
|
|
return this.effects.getStatus({ ...this.opts, callback });
|
|
}
|
|
}
|
|
exports.GetStatus = GetStatus;
|
|
//# sourceMappingURL=GetStatus.js.map
|