Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Polysemy.Process.Interpreter.Interrupt
Description
Synopsis
- interpretInterruptWith' :: Members [Critical, Race, Async, Embed IO] r => Bool -> ((SignalInfo -> IO ()) -> Handler) -> InterpreterFor Interrupt r
- interpretInterrupt' :: Members [Critical, Race, Async, Embed IO] r => Bool -> InterpreterFor Interrupt r
- interpretInterrupt :: Members [Critical, Race, Async, Embed IO] r => InterpreterFor Interrupt r
- interpretInterruptOnce' :: Members [Critical, Race, Async, Embed IO] r => Bool -> 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 => Bool -> ((SignalInfo -> IO ()) -> Handler) -> InterpreterFor Interrupt r Source #
interpretInterrupt' :: Members [Critical, Race, Async, Embed IO] r => Bool -> InterpreterFor Interrupt r Source #
Interpret Interrupt
by installing a signal handler.
Catches repeat invocations of SIGINT.
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 => Bool -> InterpreterFor Interrupt r Source #
Interpret Interrupt
by installing a signal handler.
Catches only the first invocation 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.