diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2019-01-14 13:12:16 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2019-02-09 16:30:33 +0100 |
| commit | 53e001374aceb316de496234db4ce8e516491c6a (patch) | |
| tree | 98d15b617bfd50cb9b63ae39d42b58ca2cc6c074 /doc/examples.rst | |
| parent | 24c045a26080e5ba1fd7f6305e40b9eebf7f95ff (diff) | |
DOC: Add asyncio examples
Diffstat (limited to 'doc/examples.rst')
| -rw-r--r-- | doc/examples.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/examples.rst b/doc/examples.rst index 3f0eb16..29189a2 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -42,3 +42,17 @@ Recording with Arbitrary Duration :download:`rec_unlimited.py <../examples/rec_unlimited.py>` .. literalinclude:: ../examples/rec_unlimited.py + +Using a stream in an `asyncio` coroutine +---------------------------------------- + +:download:`asyncio_coroutines.py <../examples/asyncio_coroutines.py>` + +.. literalinclude:: ../examples/asyncio_coroutines.py + +Creating an `asyncio` generator for audio blocks +------------------------------------------------ + +:download:`asyncio_generators.py <../examples/asyncio_generators.py>` + +.. literalinclude:: ../examples/asyncio_generators.py |
