Public Member Functions
tornado.gen.YieldPoint Class Reference
Inheritance diagram for tornado.gen.YieldPoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def get_result
def is_ready
def start

Detailed Description

Base class for objects that may be yielded from the generator.

Definition at line 128 of file gen.py.


Member Function Documentation

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._NullYieldPoint, tornado.gen.Multi, tornado.gen.Task, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.

Definition at line 144 of file gen.py.

Called by the runner to determine whether to resume the generator.

Returns a boolean; may be called more than once.

Reimplemented in tornado.gen._NullYieldPoint, tornado.gen.Multi, tornado.gen.Task, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.

Definition at line 137 of file gen.py.

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._NullYieldPoint, tornado.gen.Multi, tornado.gen.Task, tornado.gen.WaitAll, tornado.gen.Wait, and tornado.gen.Callback.

Definition at line 130 of file gen.py.


The documentation for this class was generated from the following file:


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30