3 ms·
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 htt
by Boulth 8y ago
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 https://curiosity-driven.org/monads-in-javascript#chain ?
- franciscop 8y agoExactly! The whole source code is basically Proxy() functions: https://github.com/franciscop/magic-promises/blob/master/magic.js#L81 https://github.com/franciscop/magic-promises/blob/master/mag...