Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PipeChannel = PipeChannel {
- readHandle :: Int -> IO ByteString
- writeHandle :: ByteString -> IO ()
- pipeChannelFromHandles :: Handle -> Handle -> PipeChannel
- pipeAsBearer :: SDUSize -> Tracer IO Trace -> PipeChannel -> Bearer IO
Documentation
data PipeChannel Source #
Abstraction over various types of handles. We provide two instances:
PipeChannel | |
|
pipeChannelFromHandles Source #
:: Handle | read handle |
-> Handle | write handle |
-> PipeChannel |
pipeAsBearer :: SDUSize -> Tracer IO Trace -> PipeChannel -> Bearer IO Source #