grpc-swift icon indicating copy to clipboard operation
grpc-swift copied to clipboard

Canceling the stream

Open LakkiAnt opened this issue 1 year ago • 1 comments

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.

LakkiAnt avatar Feb 06 '24 10:02 LakkiAnt

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?

glbrntt avatar Feb 06 '24 14:02 glbrntt