churros-0.1.1.0: Channel/Arrow based streaming computation library.
Safe HaskellNone
LanguageHaskell2010

Control.Churro.Transport.Chan

Description

Chan Transport Instance.

Synopsis

Documentation

type TransportChan a = (Chan (Maybe a), Chan (Maybe a)) Source #

runWaitChan :: ChurroChan Void Void -> IO () 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

Methods

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

yank :: Chan a -> IO a Source #

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