Public Member Functions | |
def | get_result |
def | is_ready |
def | start |
Base class for objects that may be yielded from the generator. .. deprecated:: 4.0 Use `Futures <.Future>` instead.
def tornado.gen.YieldPoint.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 in tornado.gen.Multi, tornado.gen.YieldFuture, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.
def tornado.gen.YieldPoint.is_ready | ( | self | ) |
Called by the runner to determine whether to resume the generator. Returns a boolean; may be called more than once.
Reimplemented in tornado.gen.Multi, tornado.gen.YieldFuture, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.
def tornado.gen.YieldPoint.start | ( | self, | |
runner | |||
) |
Called by the runner after the generator has yielded. No other methods will be called on this object before ``start``.
Reimplemented in tornado.gen.Multi, tornado.gen.YieldFuture, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.