How to combine streams in anyio?
How to combine streams in anyio? Question: 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 import Sequence from typing import TypeVar import anyio import anyio.abc import …