ray.serve.grpc_util.gRPCInputStream.cancel#

gRPCInputStream.cancel() None[source]#

Mark the stream as cancelled.

This will cause subsequent iteration to stop.