homebridge-plugin-wrapper
Version:
Wrapper for Homebridge and NodeJS-HAP with reduced dependencies that allows to intercept plugin values and also send to them
10 lines • 345 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PromiseTimeout = void 0;
function PromiseTimeout(timeout) {
return new Promise(function (resolve) {
setTimeout(function () { return resolve(); }, timeout);
});
}
exports.PromiseTimeout = PromiseTimeout;
//# sourceMappingURL=promise-utils.js.map