polysemy-conc-0.15.0.0: 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, dispatching on MaskMode to select mask or uninterruptibleMask.

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

Deprecated: Use interpretMaskPure, which now handles both variants

Interpret Mask by sequencing the action without masking.

Since: 0.14.1.0

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

Deprecated: Use interpretMaskFinal, which now handles both variants

Interpret Mask in IO.

Since: 0.14.1.0