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

Polysemy.Conc.Interpreter.Semaphore

Description

Semaphore interpreters, Internal.

Synopsis

Documentation

interpretSemaphoreQWith :: forall (r :: EffectRow). Member (Embed IO) r => QSem -> InterpreterFor Semaphore r Source #

Interpret Semaphore using the supplied QSem.

interpretSemaphoreTWith :: forall (r :: EffectRow). Member (Embed IO) r => TSem -> InterpreterFor Semaphore r Source #

Interpret Semaphore using the supplied TSem.