[Twisted-Python] Looking for an answer...

Itamar Shtull-Trauring itamar at itamarst.org
Sun Apr 29 10:45:16 MDT 2007


On Sun, 2007-04-29 at 11:36 -0400, Chaz. wrote:

> 	Can I emulate the non-Twisted example in the Twisted Matrix
> system. In other words can I create something like CallRemote() which 
> returns only there is a result to process and get away from having to 
> explicitly use a defer?

You might want to look at twisted.internet.defer.inlineCallbacks.

-- 
Itamar Shtull-Trauring
http://itamarst.org






More information about the Twisted-Python mailing list