3 ms·
Meteor does something similar with Fibers, but you wrap each function ahead of time, so you don't need to worry about littering Function.prototype. https://www
by btown 11y ago
Meteor does something similar with Fibers, but you wrap each function ahead of time, so you don't need to worry about littering Function.prototype.
https://www.discovermeteor.com/blog/wrapping-npm-packages/ https://www.discovermeteor.com/blog/wrapping-npm-packages/
It feels a bit like "get that sync code off my Javascript lawn!" but once you get used to it, it's pretty great in practice, and good for introducing newcomers.