canceled

package
v0.0.0-...-94d1468 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MPL-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err error) bool

Is returns true if err is non-nil and is either context.Canceled, or has a grpc code of Canceled. This is useful because cancellations propagate through gRPC boundaries, and if we choose to treat in-process cancellations a certain way, we usually want to treat cross-process cancellations the same way.

Types

This section is empty.

Jump to

Keyboard shortcuts

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