diff --git a/src/index.ts b/src/index.ts index 991fb19..e307726 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,7 +64,8 @@ export class RpcNetwork { public async processQueue(): Promise { for (const promise of this._actionQueue) { try { - await promise(); + const p = promise(); + await p; } catch (e: any) {} }