<br><br><div class="gmail_quote">On Thu, Jul 26, 2012 at 1:51 PM, Tobias Oberstein <span dir="ltr">&lt;<a href="mailto:tobias.oberstein@tavendo.de" target="_blank">tobias.oberstein@tavendo.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE"><div><p class="MsoNormal">With Twisted, a Deferred can have it&#39;s callback only triggered once.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">With Deferreds in popular JavaScript libraries (when.js, jQuery Deferred, upcoming JS PromiseA proposal),<u></u><u></u></p>
<p class="MsoNormal">there is a &quot;progress()&quot; callback for receiving results incrementally (or merely reporting on progress<u></u><u></u></p><p class="MsoNormal">until the final result arrives). Progress can be triggered more than once.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there anything comparable in Twisted?</p></div></div></blockquote><div><br>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: <a href="http://twistedmatrix.com/trac/ticket/1956">http://twistedmatrix.com/trac/ticket/1956</a><br>
</div></div>