butler-0.0.1.0: At your service.
Safe HaskellSafe-Inferred
LanguageGHC2021

Butler.Core.Processor

Synopsis

Documentation

withProcessor :: (Processor -> IO a) -> IO a #

data Process #

A process is a killable thread.

Constructors

Process 

Fields

Instances

Instances details
ToJSON Process # 
Instance details

Defined in Butler.Core.Process

Show Process # 
Instance details

Defined in Butler.Core.Process

newtype ProcessAction #

Constructors

ProcessAction (Process -> IO ()) 

stopProcess :: Process -> STM Bool #

Stop a process, returns False if the process did not received the message.

useful re-exports