Closed jkbbwr closed 5 years ago
This is an interesting question. Short answer, I'm not 100% sure how I'd tackle it right away. Maybe it's possible to use a multiprocessing.Queue for part of it? Let me ponder it.
Closing this for now. The run_in_process() is really aimed at more CPU-intensive kinds of tasks. If true interprocess communication is required, I'd look for a different mechanism. Maybe Curio Channel objects.
Is it possible to make a curio queue that behaves nicely with run in process?