Discover Packages
github.com/ncw/rclone
lib
atexit
package
Version:
v1.48.0
Opens a new window with list of versions in this module.
Published: Jun 15, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package atexit provides handling for functions you want called when
the program exits unexpectedly due to a signal.
You should also make sure you call Run in the normal exit path.
IgnoreSignals disables the signal handler and prevents Run from beeing executed automatically
Run all the at exit functions if they haven't been run already
Unregister a function using the handle returned by `Register`
type FnHandle ¶
added in
v1.47.0
FnHandle is the type of the handle returned by function `Register`
that can be used to unregister an at-exit function
Register a function to be called on exit.
Returns a handle which can be used to unregister the function with `Unregister`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.