ECMAScript proposal: `Promise.withResolvers()`

added by JavaScript Kicks
5/16/2024 2:09:18 PM

208 Views

In this blog post we take a look at the ECMAScript 2024 feature "Promise.withResolvers" (proposed by Peter Klecha). It provides a new way of directly creating Promises, as an alternative to new Promise(...).


0 comments