grpc-swift
grpc-swift copied to clipboard
Canceling the stream
How to stop a stream and start a new one with the same client? At the moment, when creating a new stream from the same client, data stops coming.
How to stop a stream and start a new one with the same client?
You can call cancel() on an RPC to terminate it early.
At the moment, when creating a new stream from the same client, data stops coming.
This shouldn't happen. Can you post some sample code or some more details so we can help you out?