routine

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStopRequested

func IsStopRequested() bool

func RunningRoutines

func RunningRoutines() int

func StartRoutine

func StartRoutine(name string, routine func())

func Stop

func Stop()

Stop requires routines to stop processing

func StopChannel

func StopChannel() <-chan struct{}

StopChannel returns channel to listen. Will be closed if stop required

func WaitForExit

func WaitForExit()

func WaitTillShutdownRequested

func WaitTillShutdownRequested()

Types

This section is empty.

Jump to

Keyboard shortcuts

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