pub unsafe extern "C" fn grpc_server_shutdown_and_notify(
    server: *mut grpc_server,
    cq: *mut grpc_completion_queue,
    tag: *mut c_void
)
Expand description

Begin shutting down a server. After completion, no new calls or connections will be admitted. Existing calls will be allowed to complete. Send a GRPC_OP_COMPLETE event when there are no more calls being serviced. Shutdown is idempotent, and all tags will be notified at once if multiple grpc_server_shutdown_and_notify calls are made. ‘cq’ must have been registered to this server via grpc_server_register_completion_queue.