You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would this wrap a rejection in promise.all to the capture the caller? I hope that someday we can have a more holistic approach to this problem that patching some APIs. Maybe AsyncContext can help somehow, but I'm not sure it can given the current API.
Also to clarify, this would keep the semantics of short circuiting on rejections? We should similarly find a way to annotate unhandled rejections for the potential rejections that arrive after a short circuit. (I also want my PromiseAllOrRejections helper moved to endo to avoid writing code that causes unhandled rejections on short circuiting)
Promise.all does not currently participate in our causal graph construction with
assert.note
. We could wrapPromise.all
to that effect.The text was updated successfully, but these errors were encountered: