stm-split-0.0: TMVars, TVars and TChans with distinguished input and output side
Control.Concurrent.STM.Split.Chan
data T dir a Source
Instances
type In = T InSource
type Out = T OutSource
newIO :: IO (In a, Out a)Source
new :: STM (In a, Out a)Source
read :: Out a -> STM aSource
write :: In a -> a -> STM ()Source
writeIO :: In a -> a -> IO ()Source