.. Generated by tools/docgen from tools/docgen/config/layout.yaml and tools/public_api.yaml. Do not edit; run `python -m tools.docgen generate --write`. Twisted API =========== The ``txcouchbase`` package: every operation returns a Twisted ``Deferred``. The types its operations take and return are in the :doc:`/reference/common/index`. Importing ``txcouchbase`` installs Twisted's ``asyncioreactor``, or uses the one already installed. The reactor runs on the running event loop, otherwise the thread's current loop, otherwise a new ``SelectorEventLoop`` that becomes the current loop. It needs a loop that implements ``add_reader`` and ``add_writer``, which ``ProactorEventLoop``, the Windows default, does not. A current ``ProactorEventLoop`` is replaced with a ``RuntimeWarning`` and left open. A running one, or a reactor of another kind, raises :class:`~couchbase.exceptions.InvalidArgumentException`. .. toctree:: :maxdepth: 2 /reference/txcouchbase/package /reference/txcouchbase/cluster /reference/txcouchbase/bucket /reference/txcouchbase/scope /reference/txcouchbase/collection /reference/txcouchbase/binary_collection /reference/txcouchbase/management/index These are the same as in the Synchronous API: * :doc:`Results `