MeteorCommunity/discussions

How to use fibers with streams

Opened this issue · 0 comments

While fibers are great to replace callback style programming on the server side, there is no clear pattern how to use them with node.js streams:

My current approach is very ugly and I am not sure if it is possible to make some helper or something to make it easier to use.

But I do think that good support for node.js streams is important because this is something where Meteor is powerful: processing streams, sending them to the client, so that you get real-time user interface.