[Twisted-Python] sleeping in inlineCallbacks
spongelavapaul at googlemail.com
Wed Oct 7 15:35:50 EDT 2009
On 7 Oct 2009, at 20:30, Paul Thomas wrote:
> Is there any way to do something like "yield sleep(10)" inside an
> @inlineCallbacks method?
I realise I can do this:
d = defer.Deferred()
reactor.callLater(seconds, d.callback, seconds)
but I wondered if something like that is already in the libraries?
More information about the Twisted-Python