Control.Concurrent.Chan.Synchronous

The channel datatype

data Chan a

Construction and observation

newChan

isEmptyChan

Synchronous, blocking operations

Basic operations

writeChan

readChan

Questionable operations

unGetChan

swapChan

List operations

getChanContents

getChanN

writeList2Chan

Synchronous, non-blocking operations

The non-blocking result datatype

data TryResult a

maybeTry

Basic operations

tryWriteChan

tryReadChan

tryPeekChan

List operations

tryGetChanContents

tryGetChanN

tryWriteList2Chan

Asynchronous operations

asyncWriteChan

asyncUnGetChan

tryAsyncSwapChan

asyncWriteList2Chan