Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
How to use this library
This section contains basic step-by-step usage of the library.
You can either build a producer, which will publish all the messages of a stream:
Streamly.drain $ produce channel sendInstructionsStream
Or a consumer, which will contain the Message
s and Envelope
s of
a queue:
Streamly.drain $ consume channel aQueue NoAck
data SendInstructions Source #
Informations to be sent
See Network.AMQP.publishMsg'
for options
Instances
Show SendInstructions Source # | |
Defined in Network.AMQP.Streamly showsPrec :: Int -> SendInstructions -> ShowS # show :: SendInstructions -> String # showList :: [SendInstructions] -> ShowS # |