Questions tagged [python-anyio]

A wrapper for asynchronous I/O libraries trio and asyncio. Use this tag with questions about programming with anyio in Python.

16 questions
0
votes
1 answer

How to combine streams in anyio?

How to iterate over multiple steams at once in anyio, interleaving the items as they appear? Let's say, I want a simple equivalent of annotate-output. The simplest I could make is #!/usr/bin/env python3 import dataclasses from collections.abc…
HoverHell
  • 4,739
  • 3
  • 21
  • 23
1
2