in src/reorder.ts [48:58]
private replayQueue(list: Array<RPCMessageWithCounter<any>>) {
while (this.queue.length) {
const next = this.queue[0];
if (next.counter > this.lastSequentialCall + 1) {
return;
}
list.push(this.queue.shift()!);
this.lastSequentialCall = next.counter;
}
}