polysemy-process-0.12.1.0: Polysemy effects for system processes
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Process.Data.ProcessKill

Description

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.

Constructors

KillAfter NanoSeconds

Wait for the specified interval, then kill.

KillImmediately

Kill immediately.

KillNever

Wait indefinitely for the process to terminate.

Instances

Instances details
Show ProcessKill Source # 
Instance details

Defined in Polysemy.Process.Data.ProcessKill

Eq ProcessKill Source # 
Instance details

Defined in Polysemy.Process.Data.ProcessKill