polysemy-conc-0.14.1.1: Polysemy effects for concurrency
Safe HaskellNone
LanguageGHC2021

Polysemy.Conc.Interpreter.Mask

Description

 
Synopsis

Documentation

interpretMaskPure :: forall (r :: [Effect]) a. Sem (Mask ': r) a -> Sem r a Source #

Interpret Mask by sequencing the action without masking.

interpretMaskFinal :: forall (r :: EffectRow). Member (Final IO) r => InterpreterFor Mask r Source #

Interpret Mask in IO.

interpretUninterruptibleMaskPure :: forall (r :: [Effect]) a. Sem (UninterruptibleMask ': r) a -> Sem r a Source #

Interpret UninterruptibleMask by sequencing the action without masking.