Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canceling the stream #1793

Open
LakemanAnt opened this issue Feb 6, 2024 · 1 comment
Open

Canceling the stream #1793

LakemanAnt opened this issue Feb 6, 2024 · 1 comment
Labels

Comments

@LakemanAnt
Copy link

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.

@glbrntt
Copy link
Collaborator

glbrntt commented Feb 6, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants