*Process the queue in reverse
This commit is contained in:
parent
ee295839d0
commit
8986d45e8e
|
@ -62,7 +62,7 @@ export class RpcNetwork {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async processQueue(): Promise<void> {
|
public async processQueue(): Promise<void> {
|
||||||
for (const promise of this._actionQueue) {
|
for (const promise of this._actionQueue.reverse()) {
|
||||||
try {
|
try {
|
||||||
const p = promise();
|
const p = promise();
|
||||||
await p;
|
await p;
|
||||||
|
|
Loading…
Reference in New Issue