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.
Click to show internal directories.
Click to hide internal directories.