Public Member Functions | |
def | __init__ |
def | get_result |
def | is_ready |
def | start |
Public Attributes | |
key | |
runner |
Returns the argument passed to the result of a previous `Callback`.
def tornado.gen.Wait.__init__ | ( | self, | |
key | |||
) |
def tornado.gen.Wait.get_result | ( | self | ) |
Returns the value to use as the result of the yield expression. This method will only be called once, and only after `is_ready` has returned true.
Reimplemented from tornado.gen.YieldPoint.
def tornado.gen.Wait.is_ready | ( | self | ) |
Called by the runner to determine whether to resume the generator. Returns a boolean; may be called more than once.
Reimplemented from tornado.gen.YieldPoint.
def tornado.gen.Wait.start | ( | self, | |
runner | |||
) |
Called by the runner after the generator has yielded. No other methods will be called on this object before ``start``.
Reimplemented from tornado.gen.YieldPoint.