- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Oct 2024 21:08:10 +0000
- To: public-css-archive@w3.org
In an async function, the promise is rejected *only* when the function throws an error. All other cases result in a fulfilled promise. This pattern is generally followed by other DOM functions that return promises; rejection is reserved for errors where we'd throw in a synchronous function. In this case, we're just using the promise for its timing aspect. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1562#issuecomment-2417967257 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 October 2024 21:08:11 UTC