diff --git a/dist/index.js b/dist/index.js index 442c8b4..83df7cb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33,7 +33,7 @@ export class RpcNetwork { }); } async processQueue() { - for (const promise of this._actionQueue) { + for (const promise of this._actionQueue.reverse()) { try { const p = promise(); await p;