Hi,<br><br>One project I had a look at had this nice syntactic sugar for async function chaining:<br><br>&gt;&gt;&gt; event_one() | event_two() | event_three()<br><br>I think this could be an interesting alternative to addCallback or yield. I propose the following syntax<br>

<br># get deferred with one () and two () chained as callbacks, equivalent to d=Deferred().addCallback(one).addCallback(two)<br>&gt;&gt;&gt; d = Deferred() | one | two<br><br># Equivalent to d=Deferred().addCallback(one).addErrback(two)<br>

&gt;&gt;&gt; d = Deferred() | one ^ two<br><br>and finally:<br># d=Deferred().addBoth(one,two)<br>&gt;&gt;&gt; d = Deferred() &amp; (one,two)<br><br>This could make use of currying/ <br clear="all">--<br>Konrads Smelkovs<br>

Applied IT sorcery.<br>