The project I am working on is all written in Tornado, but I have included a bit of Twisted to deal with asynchronous XML-RPC. I was wondering if you can use Tornado\'s gen.engi
Sure - but it's called inlineCallbacks in Twisted:
inlineCallbacks
from twisted.internet.defer import inlineCallbacks @inlineCallbacks def foo(): x = yield bar() print x