3 ms·
That's basically what the promises spec for Javascript gives you.
by pfraze 14y ago
That's basically what the promises spec for Javascript gives you.
- pufuwozu 14y agoExactly. The promises spec defines the Promise monad. The problem is that JavaScript doesn't have monadic syntax, which would make the code a lot more readable.