dmq-node
Safe HaskellNone
LanguageHaskell2010

DMQ.Protocol.LocalMsgNotification.Client

Description

A higher level API to implement clients for local message notification miniprotocol.

For execution, localMsgNotificationClientPeer reinterprets this high level description into the underlying typed protocol representation.

Synopsis

Client API types

newtype LocalMsgNotificationClient (m :: Type -> Type) msg a Source #

The high level client wrapper

data LocalMsgNotificationClientStIdle (m :: Type -> Type) msg a Source #

The client API message types

Translates the client into a typed protocol

localMsgNotificationClientPeer :: forall (m :: Type -> Type) msg a. Monad m => LocalMsgNotificationClient m msg a -> Client (LocalMsgNotification msg) 'NonPipelined ('StIdle :: LocalMsgNotification msg) m a Source #

A non-pipelined Peer representing the LocalMsgNotificationClient.

Translates the client into the typed protocol representation.