| 1 |
:mod:`apscheduler.schedulers.gevent` |
| 2 |
==================================== |
| 3 |
|
| 4 |
.. automodule:: apscheduler.schedulers.gevent |
| 5 |
|
| 6 |
API |
| 7 |
--- |
| 8 |
|
| 9 |
.. autoclass:: GeventScheduler |
| 10 |
:show-inheritance: |
| 11 |
|
| 12 |
|
| 13 |
Introduction |
| 14 |
------------ |
| 15 |
|
| 16 |
GeventScheduler was meant to be used with applications that use `gevent <http://www.gevent.org/>`_. |
| 17 |
GeventScheduler uses gevent natively, so it doesn't require monkey patching. By default it executes jobs as greenlets. |
| 18 |
|
| 19 |
.. list-table:: |
| 20 |
:widths: 1 4 |
| 21 |
|
| 22 |
* - Default executor |
| 23 |
- :class:`~apscheduler.executors.gevent.GeventExecutor` |
| 24 |
* - External dependencies |
| 25 |
- `gevent <https://pypi.python.org/pypi/gevent/>`_ |
| 26 |
* - Example |
| 27 |
- ``examples/schedulers/gevent_.py`` |
| 28 |
(`view online <https://github.com/agronholm/apscheduler/tree/3.x/examples/schedulers/gevent_.py>`_). |