On Wednesday, September 26, 2012 11:22:45 PM UTC-7, Julian Gruber wrote:
>
> Or is there another way of dealing with 'two-way-streams'. This should be 
> a common pattern in realtime applications!
>
I believe in computer science this is called a double-ended 
queue<http://en.wikipedia.org/wiki/Double-ended_queue>, 
or simply deque. Appending to the bottom would be called a push, prepending 
an element to the top would be called unshift -- just like the methods in 
an ECMAScript Array.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to