Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- interpretInterruptWith :: Members [Critical, Race, Async, Embed IO] r => ((SignalInfo -> IO ()) -> Handler) -> InterpreterFor Interrupt r
- interpretInterrupt :: Members [Critical, Race, Async, Embed IO] r => InterpreterFor Interrupt r
- interpretInterruptOnce :: Members [Critical, Race, Async, Embed IO] r => InterpreterFor Interrupt r
- interpretInterruptNull :: InterpreterFor Interrupt r
Documentation
interpretInterruptWith :: Members [Critical, Race, Async, Embed IO] r => ((SignalInfo -> IO ()) -> Handler) -> InterpreterFor Interrupt r Source #
interpretInterrupt :: Members [Critical, Race, Async, Embed IO] r => InterpreterFor Interrupt r Source #
Interpret Interrupt
by installing a signal handler.
Catches repeat invocations of SIGINT.
interpretInterruptOnce :: Members [Critical, Race, Async, Embed IO] r => InterpreterFor Interrupt r Source #
Interpret Interrupt
by installing a signal handler.
Catches only the first invocation of SIGINT.
interpretInterruptNull :: InterpreterFor Interrupt r Source #
Eliminate Interrupt
without interpreting.