Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data type indicating whether to kill a process after exiting its scope.
Synopsis
Documentation
data ProcessKill Source #
Indicate whether to kill a process after exiting the scope in which it was used, if it hasn't terminated.
KillAfter NanoSeconds | Wait for the specified interval, then kill. |
KillImmediately | Kill immediately. |
KillNever | Wait indefinitely for the process to terminate. |
Instances
Show ProcessKill Source # | |
Defined in Polysemy.Process.Data.ProcessKill showsPrec :: Int -> ProcessKill -> ShowS # show :: ProcessKill -> String # showList :: [ProcessKill] -> ShowS # | |
Eq ProcessKill Source # | |
Defined in Polysemy.Process.Data.ProcessKill (==) :: ProcessKill -> ProcessKill -> Bool # (/=) :: ProcessKill -> ProcessKill -> Bool # |