Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-04-16 13:42:51 +03:00
parent 4da5b32fde
commit b06527fa58

View File

@ -1249,6 +1249,10 @@ a promise stack and manually threading the result up.
<!--
XXX Example: show a clear use-case -- entangled promises...
...not sure if this is a good example...
......this can simply be implemented by creating a single promise and passing
it to clients...
...is a mutex a good example?
-->
Example: _entangled_ promises, resolving one will resolve the other
```javascript