On Dec 6, 2005, at 5:26 PM, dbdweeb wrote:

Python has iterators. MochiKit has iterators. Is it possible to stream
them together?

I have no idea what you mean by "stream them together"... but you probably don't want to do anything that requires more communication between client and server than is necessary. Remember, HTTP is stateless and JavaScript doesn't have any streaming socket APIs. Even if it did, it would be event driven and async... so you'd have to write something more along the lines of a Twisted protocol instead of an iterator.

-bob

Reply via email to