ECMAScript 2024 feature: Promise.withResolvers()

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

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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » ECMAScript 2024 feature: Promise.withResolvers()." Dr. Axel Rauschmayer | Sciencx - Tuesday May 14, 2024, https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/
HARVARD
Dr. Axel Rauschmayer | Sciencx Tuesday May 14, 2024 » ECMAScript 2024 feature: Promise.withResolvers()., viewed ,<https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » ECMAScript 2024 feature: Promise.withResolvers(). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/
CHICAGO
" » ECMAScript 2024 feature: Promise.withResolvers()." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/
IEEE
" » ECMAScript 2024 feature: Promise.withResolvers()." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2024/05/14/ecmascript-2024-feature-promise-withresolvers/. [Accessed: ]
rf:citation
» ECMAScript 2024 feature: Promise.withResolvers() | Dr. Axel Rauschmayer | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.