| Safe Haskell | Safe-Infered |
|---|
System.Network.ZMQ.MDP.Worker
Documentation
type Address = ByteStringSource
type MDError = ByteStringSource
sendToBroker :: Socket a -> ResponseCode -> [ByteString] -> [ByteString] -> IO ()Source
start :: WorkerState a -> IO ()Source
readTillDrop :: Socket a -> WorkerState a1 -> IO (WorkerState a1)Source
data WorkerState a Source
Constructors
| WorkerState | |
Fields
| |
withWorker :: String -> ByteString -> ([ByteString] -> IO [ByteString]) -> IO ()Source
withBroker :: (Socket XReq -> WorkerState a -> IO b) -> WorkerState t -> IO bSource
receive :: Socket a -> WorkerState a1 -> IO (Maybe (WorkerState a2))Source