groove-x / trio-util

Utility library for the Python Trio async/await framework
https://trio-util.readthedocs.io/
MIT License
68 stars 6 forks source link

`TeeingReceive{Stream,Channel}` and `receive_{stream,channel}_from` – relevant for this repo? #3

Open ntninja opened 4 years ago

ntninja commented 4 years ago

As part of my work on ipfs/py-datastore I ended up creating two generic utilities that may be useful in the context of this repository as well:

Do these sound appropriate for inclusion into this library?

belm0 commented 4 years ago

Happy to consider them. Is the implementation in a public repo already by any chance?

I don't have a sense for how general of a need these fill.

ntninja commented 4 years ago

@belm0: Sorry I forgot the link! It's here: https://github.com/ipfs/py-datastore/blob/master/datastore/core/util/stream.py