<br><br><div class="gmail_quote">On Thu, Jul 26, 2012 at 2:44 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 class="HOEnZb"><div class="h5"><br>
</div></div>Thanks for pointing. So if something like this is added to Twisted, it will be within producer/consumer, and not added to Deferred?<br>
<br>
The reason I am asking: Autobahn implements RPC over WebSocket, and people have been asking why RPC results<br>
can&#39;t be delivered in parts, as progress. However, an Autobahn RPC returns a Deferred, not a producer.<br clear="all"></blockquote><div><br>A replacement API for producer/consumer.<br><br>You might say, I just want streaming results... but then you really want to pause upstream if you can&#39;t handle it, and you want to be able to chain streams of data (which is where Protocols fail), and so you end up with a more complex API than &quot;call this function with data every time it arrives&quot;.  And that&#39;s the goal of that ticket.<br>
<br>Of course, if you want something super simple, you can implement if you want for your code only.<br></div></div><br>-- <br>Itamar Turner-Trauring, Future Foundries LLC<br><a href="http://futurefoundries.com/" target="_blank">http://futurefoundries.com/</a> — Twisted consulting, training and support.<br>
<br>