You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ Typical uses:
26
26
The queues keep references to the Promise `resolve()` function and resolve it from outside of the Promise constructor.
27
27
This is a very unusual use of Promises to implement locks that I find interesting (this is what the medium story is about).
28
28
29
+
2024 Update: My technique is on track to become an official ECMAScript language: [ES Promise.withResolvers](https://tc39.es/proposal-promise-with-resolvers/)
0 commit comments