3 ms·
Async programming / closures. You can't just call a function on an object in a loop like you can in Python. Actually if you're willing to use https://github.co
by btilly 9y ago
Async programming / closures. You can't just call a function on an object in a loop like you can in Python.
Actually if you're willing to use https://github.com/scopsy/await-to-js https://github.com/scopsy/await-to-js as a transpiler, and await/async on the back end in node, then you actually CAN just call a function in a loop like you would in Python, modulo a tiny amount of decoration that is pretty similar to how you'd do it with Twisted.