Install a signal handler that initiates a controlled shutdown on receiving SIGTERM by throwing an asynchronous exception at the main thread. Must be called from the main thread.
It is a noop on Windows.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulecabal-install-3.12.1.0Haskell2010
Install a signal handler that initiates a controlled shutdown on receiving SIGTERM by throwing an asynchronous exception at the main thread. Must be called from the main thread.
It is a noop on Windows.
Terminated is an asynchronous exception, thrown when
SIGTERM is received. It's to kill what UserInterrupt
is to Ctrl-C.
Show TerminatedDefined in cabal-install-3.12.1.0 · Distribution.Client.SignalException TerminatedDefined in cabal-install-3.12.1.0 · Distribution.Client.Signal