Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Twisted inlineCallbacks and deferredGenerator. inlineCallbacks are a brilliant (but seemingly under-promoted) feature of Twisted which use the ability to return a value from a yield statement to make asynchronous callbacks look much more like regular sequential programming.

Tagged , , , , ,

3 comments

  1. The first time I ran into these was in driftx's Cassandra client, which uses them all over. It makes the code much more readable.

    http://github.com/driftx/Telephus

    Eric Florenzano - 26th October 2009 01:38 - #

  2. I just hope whoever writes these keeps winrtig more!

    Tike - 10th October 2011 04:58 - #

  3. I will recommend my friends to read this. Bottes UGGI am quite sure they will UGG Pas Cher learn lots of new stuff here than anybody else!

    ugg pas cher - 29th October 2011 03:05 - #

Comments are closed.
A django site