polysemy-conc-0.3.0.0: Polysemy Effects for Concurrency
Safe HaskellNone
LanguageHaskell2010

Polysemy.Conc.Interpreter.Queue.TB

Description

 
Synopsis

Documentation

interpretQueueTBWith :: forall d r. Members [Race, Embed IO] r => TBQueue d -> InterpreterFor (Queue d) r Source #

Interpret Queue with a TBQueue.

This variant expects an allocated queue as an argument.

interpretQueueTB Source #

Arguments

:: forall d r. Members [Race, Embed IO] r 
=> Natural

Buffer size

-> InterpreterFor (Queue d) r 

Interpret Queue with a TBQueue.