summaryrefslogtreecommitdiff
path: root/doc/trio.rst
blob: 3afad5faf0e98d147abb292476cac9fbc8df70e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.. module:: dns.trio
.. _trio:

Trio Asynchronous I/O Support
=============================

The ``dns.trio.query`` module offers very similar APIs to those of
``dns.query``, only these versions are asynchronous and use Trio for
I/O.  There are no timeout parameters, as timeouts are expected to be
done in the Trio style with a cancellation scope.

The ``dns.trio.resolver`` module offers very similar APIs to those of
``dns.query``, only these versions are asynchronous and use Trio for
I/O.  There are no timeout parameters, as timeouts are expected to be
done in the Trio style with a cancellation scope.

.. toctree::

   trio-query
   trio-resolver