This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
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(...)
.
This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
Dr. Axel Rauschmayer | Sciencx (2024-05-14T00:00:00+00:00) ECMAScript 2024 feature: Promise.withResolvers()
. Retrieved from https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.