Re:Better Promises in JavaScript
by Boulth on Monday September 24, 2018 @06:51AM
(#18056585)
Very cool although I'm missing the explanation of how this is done. Are you using Proxies like here: https://curiosity-driven.org/monads-in-javascript#chain ?
[ Parent
| on HN ]
Re:Better Promises in JavaScript
by franciscop on Monday September 24, 2018 @08:18AM
(#18057029)
Exactly! The whole source code is basically Proxy() functions: https://github.com/franciscop/magic-promises/blob/master/mag...