tornado/website/sphinx/ioloop.rst

45 lines
1.0 KiB
ReStructuredText
Raw Normal View History

2011-06-11 21:48:46 +00:00
``tornado.ioloop`` --- Main event loop
======================================
.. automodule:: tornado.ioloop
2011-06-17 07:16:40 +00:00
IOLoop objects
--------------
.. autoclass:: IOLoop
Running an IOLoop
^^^^^^^^^^^^^^^^^
.. automethod:: IOLoop.instance
.. automethod:: IOLoop.initialized
2011-09-04 22:39:55 +00:00
.. automethod:: IOLoop.install
2011-06-17 07:16:40 +00:00
.. automethod:: IOLoop.start
.. automethod:: IOLoop.running
2011-09-04 22:39:55 +00:00
.. automethod:: IOLoop.stop
.. automethod:: IOLoop.close
2011-06-17 07:16:40 +00:00
I/O events
^^^^^^^^^^
.. automethod:: IOLoop.add_handler
.. automethod:: IOLoop.update_handler
.. automethod:: IOLoop.remove_handler
Timeouts
^^^^^^^^
.. automethod:: IOLoop.add_callback
.. automethod:: IOLoop.add_timeout
.. automethod:: IOLoop.remove_timeout
.. autoclass:: PeriodicCallback
:members:
2011-06-17 07:16:40 +00:00
Debugging and error handling
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automethod:: IOLoop.handle_callback_exception
.. automethod:: IOLoop.set_blocking_signal_threshold
.. automethod:: IOLoop.set_blocking_log_threshold
.. automethod:: IOLoop.log_stack