churros-0.1.6.0: Channel/Arrow based streaming computation library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Churro.Transport.Chan

Description

Chan Transport Instance.

Synopsis

Documentation

runWaitChan :: ChurroChan a Void Void -> IO a Source #

Convenience function for running a Churro with a Chan Transport.

runWaitListChan :: ChurroChan () Void o -> IO [o] Source #

Convenience function for running a Churro into a List with a Chan Transport.

Orphan instances

Transport Chan Source # 
Instance details

Associated Types

data In Chan :: Type -> Type Source #

data Out Chan :: Type -> Type Source #

Methods

flex :: IO (In Chan a, Out Chan a) Source #

yank :: Out Chan a -> IO a Source #

yeet :: In Chan a -> a -> IO () Source #