Function grpcio_sys::grpc_completion_queue_shutdown [−][src]
pub unsafe extern "C" fn grpc_completion_queue_shutdown(
cq: *mut grpc_completion_queue
)
Begin destruction of a completion queue. Once all possible events are drained then grpc_completion_queue_next will start to produce GRPC_QUEUE_SHUTDOWN events only. At that point it’s safe to call grpc_completion_queue_destroy.
After calling this function applications should ensure that no NEW work is added to be published on this completion queue.