package signal

import "github.com/google/go-containerregistry/internal/signal"

Index

Functions

func NotifyContext

func NotifyContext(parent context.Context, signals ...os.Signal) (ctx context.Context, stop context.CancelFunc)

NotifyContext just calls go 1.16's signal.NotifyContext. We can remove this once we bump the minimum go version to 1.16.

Source Files

go116.go

Version
v0.9.0
Published
May 17, 2022
Platform
js/wasm
Imports
3 packages
Last checked
4 hours ago

Tools for package owners.