*Process the queue in reverse

This commit is contained in:
Derrick Hammer 2022-07-20 18:36:47 -04:00
parent ee295839d0
commit 8986d45e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;