![](https://secure.gravatar.com/avatar/0da8d6ba99ebd77ed8a31c889a28f542.jpg?s=120&d=mm&r=g)
Oct. 7, 2009
12:35 p.m.
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: def sleep(seconds): d = defer.Deferred() reactor.callLater(seconds, d.callback, seconds) return d but I wondered if something like that is already in the libraries?