We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f32487 commit 6f90c28Copy full SHA for 6f90c28
src/Kuzzle.ts
@@ -581,6 +581,9 @@ export class Kuzzle extends KuzzleEventEmitter {
581
582
this.protocol.addListener('discarded', data => this.emit('discarded', data));
583
584
+ this.protocol.addListener('websocketRenewalStart', () => { this._reconnectInProgress = true; });
585
+ this.protocol.addListener('websocketRenewalDone', () => { this._reconnectInProgress = false; });
586
+
587
return this.protocol.connect();
588
}
589
0 commit comments