stm-split-0.0.2.1: TMVars, TVars and TChans with distinguished input and output side

Safe HaskellSafe
LanguageHaskell98

Control.Concurrent.STM.Split.Chan

Documentation

data T dir a Source #

Instances
C T Source # 
Instance details

Defined in Control.Concurrent.STM.Split.Chan

Methods

newIO :: IO (T In a, T Out a) Source #

new :: STM (T In a, T Out a) Source #

read :: T Out a -> STM a Source #

write :: T In a -> a -> STM () Source #

type In = T In Source #

type Out = T Out Source #

newIO :: IO (In a, Out a) Source #

new :: STM (In a, Out a) Source #

read :: Out a -> STM a Source #

write :: In a -> a -> STM () Source #

writeIO :: In a -> a -> IO () Source #