Closed nikeee closed 1 day ago
Using Promise.withResolvers() is more concise.
Promise.withResolvers()
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers
Preview URLs
/en-US/docs/Web/API/Web_Locks_API
Description
Using
Promise.withResolvers()
is more concise.See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers