docs/source/glossary.rst
raw| 1 | :orphan: |
| 2 | |
| 3 | .. _glossary: |
| 4 | |
| 5 | ******** |
| 6 | Glossary |
| 7 | ******** |
| 8 | |
| 9 | .. glossary:: |
| 10 | |
| 11 | asynchronous file object |
| 12 | This is an object with an API identical to a :term:`file object`, with |
| 13 | the exception that all methods that do I/O are async functions. |
| 14 | |
| 15 | The main ways to create an asynchronous file object are by using the |
| 16 | :func:`trio.open_file` function or the :meth:`trio.Path.open` |
| 17 | method. See :ref:`async-file-io` for more details. |