@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
17 lines • 617 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BlinkstickAsync = void 0;
const blinkstick_1 = require("./blinkstick");
const node_hid_async_transport_1 = require("../transport/node-hid-async-transport");
/**
* Async version of BlinkStick class.
* @category Core
*/
class BlinkstickAsync extends blinkstick_1.BlinkStick {
constructor(device, info) {
super(node_hid_async_transport_1.NodeHidAsyncTransport.createWithKnownInfo(device, info));
this.isSync = false;
}
}
exports.BlinkstickAsync = BlinkstickAsync;
//# sourceMappingURL=blinkstick.async.js.map