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

[question] Access ClientCall from generated service client #743

Open
haf opened this issue Oct 7, 2024 · 0 comments
Open

[question] Access ClientCall from generated service client #743

haf opened this issue Oct 7, 2024 · 0 comments

Comments

@haf
Copy link

haf commented Oct 7, 2024

I'd like to implement cancellation.

image

Here's how grpc-4.0.1 creates the call. The call itself is cancellable, but it goes into a private field _call, so it's unreachable.

Is there way to cancel the call without reimplementing the generated client?

Something like
image

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

No branches or pull requests

2 participants