Package shutdown implements a global process shutdown mechanism. It is used by package github.com/grailbio/base/grail to perform graceful shutdown of software components. It is a separate package in order to avoid circular dependencies.
Run run callbacks added by Register. This function is not for general use.
type Func func()
Func is the type of function run on shutdowns.