Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
MVar Transport Instance. Blocks when item hasn't been consumed downstream.
Synopsis
- type ChurroMVar a = Churro a MVar
- runWaitMVar :: ChurroMVar a Void Void -> IO a
- runWaitListMVar :: ChurroMVar () Void o -> IO [o]
Documentation
type ChurroMVar a = Churro a MVar Source #
runWaitMVar :: ChurroMVar a Void Void -> IO a Source #
Convenience function for running a Churro with an MVar Transport.
runWaitListMVar :: ChurroMVar () Void o -> IO [o] Source #
Convenience function for running a Churro into a List with an MVar Transport.