contextutil

package
v0.0.0-...-1fa5987 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithoutCancel

func WithoutCancel(ctx context.Context) context.Context

WithoutCancel creates a new context from `ctx` that is never cancelled and never times out. XXX This is an anti-pattern. It is used for background work, but that should always be indirected through some kind of background worker where the context must be explicitly propegated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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