diff --git a/packages/app/src/client.ts b/packages/app/src/client.ts index 4e31409..9012541 100644 --- a/packages/app/src/client.ts +++ b/packages/app/src/client.ts @@ -66,8 +66,8 @@ export default class Client extends jsrpc.JSONRPCServerAndClient { // notify "initialized": client --> server this.notify(proto.InitializedNotification.type.method, {}); - await Promise.allSettled(this.afterInitializedHooks.map((f: () => Promise) => f())); - await Promise.allSettled([this.processNotifications(), this.processRequests()]); + await Promise.all(this.afterInitializedHooks.map((f: () => Promise) => f())); + await Promise.all([this.processNotifications(), this.processRequests()]); } // eslint-disable-next-line @typescript-eslint/require-await