Exiting returns true if the process is exiting. EXPERIMENTAL API: subject to change or removal.
()
| 843 | // Exiting returns true if the process is exiting. |
| 844 | // EXPERIMENTAL API: subject to change or removal. |
| 845 | func Exiting() bool { return exiting.Load() } |
| 846 | |
| 847 | // OnExit registers a callback to invoke during process exit. |
| 848 | // This registration is PROCESS-GLOBAL, meaning that each |