@ginden/blinkstick-v2
Version:
Improved Blickstick API for Node.js
17 lines • 699 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");
/**
* @summary Async and recommended version of BlinkStick class using `node-hid` for communication.
* @category Implementation details
*/
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