On Thu, Jul 26, 2012 at 1:51 PM, Tobias Oberstein <
tobias.oberst...@tavendo.de> wrote:

> With Twisted, a Deferred can have it's callback only triggered once.****
>
> ** **
>
> With Deferreds in popular JavaScript libraries (when.js, jQuery Deferred,
> upcoming JS PromiseA proposal),****
>
> there is a "progress()" callback for receiving results incrementally (or
> merely reporting on progress****
>
> until the final result arrives). Progress can be triggered more than once.
> ****
>
> ** **
>
> Is there anything comparable in Twisted?
>

For chunks of data, Protocols; e.g. twisted.web.client.Agent delivers HTTP
response bodies to a Protocol instance. More generally, Glyph is working on
this: http://twistedmatrix.com/trac/ticket/1956
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to