tornado/docs/queues.rst

41 lines
622 B
ReStructuredText
Raw Normal View History

2015-03-14 21:52:39 +00:00
``tornado.queues`` -- Queues for coroutines
===========================================
.. versionadded:: 4.2
2015-04-04 13:08:22 +00:00
.. testsetup::
from tornado import ioloop, gen, queues
io_loop = ioloop.IOLoop.current()
2015-03-14 21:52:39 +00:00
.. automodule:: tornado.queues
2015-04-04 13:08:22 +00:00
Classes
-------
Queue
^^^^^
.. autoclass:: Queue
2015-03-14 21:52:39 +00:00
:members:
2015-04-04 13:08:22 +00:00
PriorityQueue
^^^^^^^^^^^^^
.. autoclass:: PriorityQueue
:members:
2015-04-04 13:08:22 +00:00
LifoQueue
^^^^^^^^^
.. autoclass:: LifoQueue
:members:
2015-04-04 13:08:22 +00:00
Exceptions
----------
QueueEmpty
^^^^^^^^^^
.. autoexception:: QueueEmpty
2015-04-04 13:08:22 +00:00
QueueFull
^^^^^^^^^
.. autoexception:: QueueFull