I am using grpc.aio.server(). My objective is to detect a client disconnect on the server side.
I'm trying to register a callback using the context on server side using add_done_callback(), but it does not seem it exposed for grpc._cython.cygrpc._ServicerContext
The documentation here mentions the callback, but I can't seem to be able to get it to work. Note, if I use grpc.server() instead, I can set add_callback()
I'm using: aiogrpc 1.8 grpcio 1.36.1 grpcio-tools 1.35.0
Any help appreciated.