https://prefect.io logo
Title
s

Sean Davis

12/16/2022, 7:32 PM
Does anyone have a good example of using trio/asyncio directly in a task/flow? I have a basic 4-function script that uses trio memory channels. Specifically, it uses a producer/consumer with send/receive channels to achieve 40-fold concurrency for API scraping. When I try various approaches to convert to flows/tasks either hangs after completion or complains about lacking an event loop. I've tried a number of combinations and haven't found anything, including just a flow function that calls the other functions.
z

Zanie

12/16/2022, 7:48 PM
We use anyio in lots of places, but we don’t have support for trio yet.
s

Sean Davis

12/17/2022, 3:56 PM
Thx, @Zanie.