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

Polysemy.Conc.AtomicState

Description

 
Synopsis

Documentation

interpretAtomic :: forall a (r :: EffectRow). Member (Embed IO) r => a -> InterpreterFor (AtomicState a :: (Type -> Type) -> Type -> Type) r Source #

Convenience wrapper around runAtomicStateTVar that creates a new TVar.