compile error
This commit is contained in:
parent
80950906e3
commit
49214bf8f4
1 changed files with 2 additions and 2 deletions
|
|
@ -430,7 +430,7 @@ class PlejdService extends EventEmitter {
|
||||||
console.log('startWriteQueue()');
|
console.log('startWriteQueue()');
|
||||||
clearInterval(this.writeQueueRef);
|
clearInterval(this.writeQueueRef);
|
||||||
|
|
||||||
this.writeQueueRef = setTimeout(() => this.runWriteQueue()), 400);
|
this.writeQueueRef = setTimeout(() => this.runWriteQueue(), 400);
|
||||||
// this.writeQueueRef = setInterval(async () => {
|
// this.writeQueueRef = setInterval(async () => {
|
||||||
// while (this.writeQueue.length > 0) {
|
// while (this.writeQueue.length > 0) {
|
||||||
// const data = this.writeQueue.pop();
|
// const data = this.writeQueue.pop();
|
||||||
|
|
@ -445,7 +445,7 @@ class PlejdService extends EventEmitter {
|
||||||
await this.write(data, true);
|
await this.write(data, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.writeQueueRef = setTimeout(() => this.runWriteQueue()), 400);
|
this.writeQueueRef = setTimeout(() => this.runWriteQueue(), 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
async _processPlejdService(path, characteristics) {
|
async _processPlejdService(path, characteristics) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue