Re: [Twisted-Python] Syntactic sugar for deferreds

2009-12-07 Thread Phil Mayers
sstein...@gmail.com wrote: > On Dec 7, 2009, at 9:50 AM, Konrads Smelkovs wrote: > >> Hi, >> >> One project I had a look at had this nice syntactic sugar for async function >> chaining: >> > event_one() | event_two() | event_three() >> I think this could be an interesting alternative to addCa

Re: [Twisted-Python] Syntactic sugar for deferreds

2009-12-07 Thread Landreville
On Mon, Dec 7, 2009 at 10:02 AM, sstein...@gmail.com wrote: > On Dec 7, 2009, at 9:50 AM, Konrads Smelkovs wrote: > > > Hi, > > > > One project I had a look at had this nice syntactic sugar for async > function chaining: > > > > >>> event_one() | event_two() | event_three() > > > > I think this co

Re: [Twisted-Python] Syntactic sugar for deferreds

2009-12-07 Thread sstein...@gmail.com
On Dec 7, 2009, at 9:50 AM, Konrads Smelkovs wrote: > Hi, > > One project I had a look at had this nice syntactic sugar for async function > chaining: > > >>> event_one() | event_two() | event_three() > > I think this could be an interesting alternative to addCallback or yield. I > propose th