Files
recap/node_modules/@start9labs/start-sdk/base/lib/util/GetHostInfo.js
T

16 lines
499 B
JavaScript

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