Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does it deal with async stuff if I need it in a serial manner? With node I have async. What does meteor have that's similar?


Meteor uses Fibers. And you can do any of the async stuff in Meteor, like you would in Node.js with async.js, with the exception that you will most likely use Futures, and the code style will look synchronous (not the lengthy callback chains we are used to in Node.js). For more on Async execution in Meteor.js, see this link: https://gist.github.com/possibilities/3443021


Meteor is built on top of node.

'npm install async' becomes 'mrt add meteor-async' ...

Sometimes you have to do a little configuration work to get off the shelf NPM packages settled nicely with Fibers; but its not a huge deal and almost every day someone else will turn npm-somePackage into meteor-somePackage.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: