Public Member Functions | |
def | __init__ |
def | handle_exception |
def | handle_yield |
def | is_ready |
def | pop_result |
def | register_callback |
def | result_callback |
def | run |
def | set_result |
Public Attributes | |
finished | |
future | |
gen | |
had_exception | |
io_loop | |
pending_callbacks | |
result_future | |
results | |
running | |
stack_context_deactivate | |
yield_point | |
Private Member Functions | |
def | _deactivate_stack_context |
Internal implementation of `tornado.gen.engine`. Maintains information about pending callbacks and their results. The results of the generator are stored in ``result_future`` (a `.TracebackFuture`)
def tornado.gen.Runner.__init__ | ( | self, | |
gen, | |||
result_future, | |||
first_yielded | |||
) |
def tornado.gen.Runner._deactivate_stack_context | ( | self | ) | [private] |
def tornado.gen.Runner.handle_exception | ( | self, | |
typ, | |||
value, | |||
tb | |||
) |
def tornado.gen.Runner.handle_yield | ( | self, | |
yielded | |||
) |
def tornado.gen.Runner.is_ready | ( | self, | |
key | |||
) |
def tornado.gen.Runner.pop_result | ( | self, | |
key | |||
) |
def tornado.gen.Runner.register_callback | ( | self, | |
key | |||
) |
def tornado.gen.Runner.result_callback | ( | self, | |
key | |||
) |
def tornado.gen.Runner.run | ( | self | ) |
def tornado.gen.Runner.set_result | ( | self, | |
key, | |||
result | |||
) |