privileged-concurrency-0.7.0: Provides privilege separated versions of the concurrency primitives.
Control.Concurrent.STM.TChan.ReadOnly
data ReadOnlyTChan b Source #
Instances
Methods
readTChan :: ReadOnlyTChan a -> STM a Source #
tryReadTChan :: ReadOnlyTChan a -> STM (Maybe a) Source #
peekTChan :: ReadOnlyTChan a -> STM a Source #
tryPeekTChan :: ReadOnlyTChan a -> STM (Maybe a) Source #
dupTChan :: ReadOnlyTChan a -> STM (ReadOnlyTChan a) Source #
toReadOnlyTChan :: TChan a -> ReadOnlyTChan a Source #