Recreate a very simple eventlet utility module that has only a few features; one function checks if eventlet is available and if not raise an exception; and a constant that can be used by calling code (such as tests or other optional functionality) to check if eventlet is useable before proceeding. Change-Id: I32df0702eeae7c7c78972c9796156dd824b2f123
50 lines
788 B
ReStructuredText
50 lines
788 B
ReStructuredText
---------
|
|
Utilities
|
|
---------
|
|
|
|
.. warning::
|
|
|
|
External usage of internal utility functions and modules should be kept
|
|
to a **minimum** as they may be altered, refactored or moved to other
|
|
locations **without** notice (and without the typical deprecation cycle).
|
|
|
|
Async
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.async_utils
|
|
|
|
Deprecation
|
|
~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.deprecation
|
|
|
|
Eventlet
|
|
~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.eventlet_utils
|
|
|
|
Kazoo
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.kazoo_utils
|
|
|
|
Locks
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.lock_utils
|
|
|
|
Miscellaneous
|
|
~~~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.misc
|
|
|
|
Persistence
|
|
~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.persistence_utils
|
|
|
|
Threading
|
|
~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.threading_utils
|