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
From reading the code it appears that when(first: [Promise(with: .cancelled)]) returns a pending promise that will be cancelled asynchronously (on the .utility queue). We should fix this so it synchronously cancels if all inputs were already cancelled. This will make it consistent because it already fulfills/rejects synchronously if any input has been fulfilled/rejected.
The text was updated successfully, but these errors were encountered:
From reading the code it appears that
when(first: [Promise(with: .cancelled)])
returns a pending promise that will be cancelled asynchronously (on the.utility
queue). We should fix this so it synchronously cancels if all inputs were already cancelled. This will make it consistent because it already fulfills/rejects synchronously if any input has been fulfilled/rejected.The text was updated successfully, but these errors were encountered: