Skip to content

Commit

Permalink
Remove experimental tags from uses of gRPC C++ callback API.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 379399623
  • Loading branch information
Haiming Bao authored and tensorflow-copybara committed Jun 15, 2021
1 parent 97aa2db commit b355023
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ void PredictionServiceGrpc::Predict(
std::function<void(::grpc::Status)> wrapped_callback =
[callback](::grpc::Status status) { callback(FromGrpcStatus(status)); };

stub_->async()->Predict(rpc, request, response, wrapped_callback);
stub_->experimental_async()->Predict(rpc, request, response,
wrapped_callback);
}

} // namespace serving
Expand Down

0 comments on commit b355023

Please sign in to comment.