grpc-client-cancel-recv-stream

command module
v0.0.0-...-0755c3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

README

grpc-client-cancel-recv-stream

This example demonstrates a gRPC client blocked on Recv() in a stream response and a separate thread invoking Cancel() on the stream's context.

Expected results: The Recv() call unblocks and returns grpc codes.Canceled. -- this code does confirm this.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL