Module
ZeroMQ
- Package
- purescript-zeromq
- Repository
- athanclark/purescript-zeromq
This module tries to be analogous to the zermq4-simple Haskell library.
#Router Source
newtype Router
Instances
IsLegal Router Req
IsLegal Req Router
IsLegal Dealer Router
IsLegal Router Dealer
Bindable Router
Connectable Router
Sendable Req Router Unit
Sendable Router Req ZMQIdent
Sendable Dealer Router Unit
Sendable Router Dealer ZMQIdent
Receivable Req Router Unit
Receivable Router Req ZMQIdent
Receivable Dealer Router Unit
Receivable Router Dealer ZMQIdent
#Dealer Source
newtype Dealer
Instances
IsLegal Rep Dealer
IsLegal Dealer Rep
IsLegal Dealer Router
IsLegal Router Dealer
Bindable Dealer
Connectable Dealer
Sendable Rep Dealer Unit
Sendable Dealer Rep Unit
Sendable Dealer Router Unit
Sendable Router Dealer ZMQIdent
Receivable Rep Dealer Unit
Receivable Dealer Rep Unit
Receivable Dealer Router Unit
Receivable Router Dealer ZMQIdent
#disconnect Source
disconnect :: forall to from. Connectable from => Socket from to Connected -> String -> Effect Unit
#unsubscribe Source
unsubscribe :: forall loc to from. Subscriber from => Socket from to loc -> String -> Effect Unit
#addMonitorListener Source
addMonitorListener :: forall loc to from. Socket from to loc -> MonitorEvent -> (Foreign -> Effect Unit) -> Effect Unit
#removeAllMonitorListeners Source
removeAllMonitorListeners :: forall loc to from. Socket from to loc -> MonitorEvent -> Effect Unit
#Receivable Source
class Receivable from to aux | from to -> aux where
Members
readMany :: forall loc. Socket from to loc -> Aff (Maybe { aux :: aux, msg :: NonEmpty Array Buffer })
Instances
Receivable Pair Pair Unit
Receivable Sub Pub Unit
Receivable Sub XPub Unit
Receivable XSub Pub Unit
Receivable Req Rep Unit
Receivable Rep Req Unit
Receivable Req Router Unit
Receivable Router Req ZMQIdent
Receivable Rep Dealer Unit
Receivable Dealer Rep Unit
Receivable Dealer Router Unit
Receivable Router Dealer ZMQIdent
#readJson Source
readJson :: forall a loc aux to from. Receivable from to aux => DecodeJson a => Socket from to loc -> Aff (Maybe { aux :: aux, msg :: a })
#readJson' Source
readJson' :: forall a loc aux to from. Receivable from to aux => DecodeJson a => Socket from to loc -> Aff (Maybe (Either String { aux :: aux, msg :: a }))
#removeAllReceiveListeners Source
removeAllReceiveListeners :: forall loc to from. Socket from to loc -> Effect Unit
- Modules
- ZeroMQ