Re: [nodejs] streams or emitter

2012-09-28 Thread Christian Tellnes
I implemented something like this a while back. I went for the solution where I emitted new entries while I used callbacks for historical entires. New entries could come in anytime unlike historical that always was the result of a user action. -- Job Board: http://jobs.nodejs.org/ Posting

[nodejs] streams or emitter

2012-09-27 Thread Julian Gruber
I have the following use case: I want to display a list of entries that both gets new entries pushed to - inserted at top - and historical ones appended at the bottom, if you click 'show more'. now what's the cleanest way of doing this? (although this is in a browser environment, I use