Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
data
PipeChannel
=
PipeChannel
{
- readHandle :: Int -> IO ByteString
- writeHandle :: ByteString -> IO ()
- pipeChannelFromHandles :: Handle -> Handle -> PipeChannel
- pipeAsMuxBearer :: Tracer IO MuxTrace -> PipeChannel -> MuxBearer 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 |
pipeAsMuxBearer :: Tracer IO MuxTrace -> PipeChannel -> MuxBearer IO Source #