package
19.1.0-beta.20190304+incompatible
Repository: https://github.com/darinpp/cockroach.git
Documentation: pkg.go.dev

# Functions

HandleDebug responds with the list of stopper tasks actively running.
NewStopper returns an instance of Stopper.
OnPanic is an option which lets the Stopper recover from all panics using the provided panic handler.

# Variables

ErrThrottled is returned from RunLimitedAsyncTask in the event that there is no more capacity for async tasks, as limited by the semaphore.
ErrUnavailable indicates that the server is quiescing and is unable to process new work.

# Structs

A Stopper provides a channel-based mechanism to stop an arbitrary array of workers.

# Interfaces

Closer is an interface for objects to attach to the stopper to be closed once the stopper completes.
An Option can be passed to NewStopper.

# Type aliases

CloserFn is type that allows any function to be a Closer.
A TaskMap is returned by RunningTasks().