Skip to content

Commit 06a093c

Browse files
authored
fix(core): prefer rpc brodcast to use Promise.allSettled instead of Promise.all (#281)
1 parent e4feaea commit 06a093c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/node/host-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class RpcFunctionsHost extends RpcFunctionsCollectorBase<DevToolsRpcServe
5050

5151
debugBroadcast(JSON.stringify(options.method))
5252

53-
await Promise.all(
53+
await Promise.allSettled(
5454
this._rpcGroup.clients.map((client) => {
5555
if (options.filter?.(client) === false)
5656
return undefined

0 commit comments

Comments
 (0)