unliftio-0.2.23.0: The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)
Safe Haskell Safe-Inferred
Language Haskell2010

UnliftIO.Chan

Description

Lifted Control.Concurrent.Chan .

Since: 0.1.0.0

Synopsis

Documentation

data Chan a Source #

Chan is an abstract type representing an unbounded FIFO channel.

Instances

Instances details
Eq ( Chan a)

Since: base-4.4.0.0

Instance details

Defined in Control.Concurrent.Chan

newChan :: MonadIO m => m ( Chan a) Source #

Lifted newChan .

Since: 0.1.0.0

writeChan :: MonadIO m => Chan a -> a -> m () Source #

Lifted writeChan .

Since: 0.1.0.0

readChan :: MonadIO m => Chan a -> m a Source #

Lifted readChan .

Since: 0.1.0.0

dupChan :: MonadIO m => Chan a -> m ( Chan a) Source #

Lifted dupChan .

Since: 0.1.0.0

writeList2Chan :: MonadIO m => Chan a -> [a] -> m () Source #

Lifted writeList2Chan .

Since: 0.1.0.0