.. _async-api: .. module:: pulsar.async.futures ================== Asynchronous API ================== Pulsar asynchronous api is built on top of the new python :mod:`asyncio` module. Async object interface ================================= This small class is the default interface for :ref:`asynchronous objects `. It is provided mainly for documentation purposes. .. autoclass:: AsyncObject :members: :member-order: bysource .. autoclass:: Bench :members: :member-order: bysource .. _async-discovery: Async Utilities ================================= A collection of asynchronous utilities which facilitates manipulation and interaction with :ref:`asynchronous components `. task ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. autofunction:: task Maybe Async ~~~~~~~~~~~~~~~~~~~~ .. autofunction:: maybe_async Chain Future ~~~~~~~~~~~~~~~~~~ .. autofunction:: chain_future Multi Async ~~~~~~~~~~~~~~~~~~~~~~~~ .. autofunction:: multi_async Async While ~~~~~~~~~~~~~~~~~~ .. autofunction:: async_while Run in loop ~~~~~~~~~~~~~~~~~~~~~~ .. autofunction:: run_in_loop .. module:: pulsar.async.lock Lock ========== .. autoclass:: LockBase :members: :member-order: bysource .. autoclass:: Lock :members: :member-order: bysource