Skip to content

fix(core): prefer rpc brodcast to use Promise.allSettled instead of Promise.all#281

Open
huang-julien wants to merge 1 commit intovitejs:mainfrom
huang-julien:fix/broadcast_allsettled
Open

fix(core): prefer rpc brodcast to use Promise.allSettled instead of Promise.all#281
huang-julien wants to merge 1 commit intovitejs:mainfrom
huang-julien:fix/broadcast_allsettled

Conversation

@huang-julien
Copy link
Copy Markdown
Contributor

Description

This PR change RpcFunctionHost.broadcast to use Promise.allSettled instead of Promise.all. If a brpc._call() fn throws, it probably shouldn't make the whole brodcast() call throw

Linked Issues

Additional context

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 4, 2026

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@281

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@281

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@281

@vitejs/devtools-rpc

npm i https://pkg.pr.new/@vitejs/devtools-rpc@281

@vitejs/devtools-self-inspect

npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@281

commit: e3f49b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant