xcontext

package
v2.0.0-...-a7294fb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeInterruptibleContext

func MakeInterruptibleContext(ctx context.Context) context.Context

MakeInterruptibleContext returns a context that will be cancelled when an interrupt signal is received. This allows a command line tool to be cancelled by Ctrl+C.

Types

This section is empty.

Jump to

Keyboard shortcuts

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