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

Control.Churro.Transport.Unagi

Description

Chan Transport Instance.

Synopsis

Documentation

data Unagi a Source #

Instances

Instances details
Transport Unagi Source # 
Instance details

Defined in Control.Churro.Transport.Unagi

Associated Types

data In Unagi :: Type -> Type Source #

data Out Unagi :: Type -> Type Source #

Methods

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

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

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

data In Unagi a Source # 
Instance details

Defined in Control.Churro.Transport.Unagi

data In Unagi a = ChanIn (InChan a)
data Out Unagi a Source # 
Instance details

Defined in Control.Churro.Transport.Unagi

data Out Unagi a = ChanOut (OutChan a)

runWaitUnagi :: ChurroUnagi a Void Void -> IO a Source #

Convenience function for running a Churro with an Unagi Transport.

runWaitListUnagi :: ChurroUnagi () Void o -> IO [o] Source #

Convenience function for running a Churro into a List with an Unagi Transport.