stm-split-0.0.2.1: TMVars, TVars and TChans with distinguished input and output side
Control.Concurrent.STM.Split.Class
data In Source #
data Out Source #
class C chan where Source #
Minimal complete definition
newIO, new, read, write
Methods
newIO :: IO (chan In a, chan Out a) Source #
new :: STM (chan In a, chan Out a) Source #
read :: chan Out a -> STM a Source #
write :: chan In a -> a -> STM () Source #
Defined in Control.Concurrent.STM.Split.Chan
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 #
Defined in Control.Concurrent.STM.Split.MVar