class_docstr: Servicer handling RPCs for service statuses.
class_docstr_tok: ["Servicer","handling","RPCs","for","service","statuses","."]
code: def _on_close_callback(self, send_response_callback, service):
      def callback():
          with self._lock:
              self._send_response_callbacks[service].remove(
                  send_response_callback
              )
          send_response_callback(None)
  
      return callback
  
imports: import collections
  import threading
  from aim.ext.transport.proto import health_pb2
  from aim.ext.transport.proto import health_pb2_grpc
label_desc: Use image node_id 2 for calling the HealthServicer obj's underlying member method code with example usage: obj._on_close_callback(send_response_callback, service) and returns: callback