cmdutils

package
v0.49.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Overview

Adapted from: https://github.com/hatchet-dev/hatchet-v1-archived/blob/3c2c13168afa1af68d4baaf5ed02c9d49c5f0323/cmd/cmdutils/interrupt.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterruptChan

func InterruptChan() <-chan interface{}

func InterruptContextFromChan

func InterruptContextFromChan(interruptChan <-chan interface{}) (context.Context, context.CancelFunc)

func NewInterruptContext

func NewInterruptContext() (context.Context, context.CancelFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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