stm-split-0.0.0.1: TMVars, TVars and TChans with distinguished input and output side
Control.Concurrent.STM.Split.Chan
data T dir a Source
Instances
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