Skip to content

Commit 0914e5e

Browse files
committed
add a link to ES Promise.withResolvers
1 parent 5f2dff1 commit 0914e5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Typical uses:
2626
The queues keep references to the Promise `resolve()` function and resolve it from outside of the Promise constructor.
2727
This is a very unusual use of Promises to implement locks that I find interesting (this is what the medium story is about).
2828

29+
2024 Update: My technique is on track to become an official ECMAScript language: [ES Promise.withResolvers](https://tc39.es/proposal-promise-with-resolvers/)
30+
2931
# Install
3032

3133
`npm install --save async-await-queue`

0 commit comments

Comments
 (0)