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 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11
Modulecabal-install-3.18.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.18.1.0 · Distribution.Client.SignalException TerminatedDefined in cabal-install-3.18.1.0 · Distribution.Client.Signal