[grpc-io] (python) How to spawn blocking CPU bound tasks

2023-09-08 Thread Joshua Benz
I have python gRPC server that has a handle to a gRPC client for a different python gRPC server. I have an RPC that returns a stream, i use `async for` to iterate over that stream. I was trying to follow this

[grpc-io] Re: (python) How to spawn blocking CPU bound tasks

2023-09-09 Thread Joshua Benz
side closes the connection. But if i take out asyncio.get_running_loop() and consequently run_in_executor() and just do the work there like a normal function call, it works. On Friday, September 8, 2023 at 10:54:15 PM UTC-7 Joshua Benz wrote: > I have python gRPC server that has a han