Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- assertTx :: Monad m => MonadFail m => m (TxClientResponse a b) -> m (SynchronousResponse a b)
- deliverTxEvents :: Monad m => MonadFail m => Proxy e -> SynchronousResponse a b -> m [Event]
- ensureCheckResponseCode :: MonadFail m => Word32 -> SynchronousResponse a b -> m ()
- ensureDeliverResponseCode :: Monad m => MonadFail m => Word32 -> SynchronousResponse a b -> m ()
- ensureResponseCodes :: MonadFail m => (Word32, Word32) -> SynchronousResponse a b -> m ()
- assertQuery :: Monad m => MonadFail m => m (QueryClientResponse a) -> m (QueryResult a)
- ensureQueryResponseCode :: Monad m => MonadFail m => Word32 -> QueryClientResponse a -> m ()
- rpcConfig :: Config
Documentation
assertTx :: Monad m => MonadFail m => m (TxClientResponse a b) -> m (SynchronousResponse a b) Source #
Tx helpers
deliverTxEvents :: Monad m => MonadFail m => Proxy e -> SynchronousResponse a b -> m [Event] Source #
ensureCheckResponseCode :: MonadFail m => Word32 -> SynchronousResponse a b -> m () Source #
ensureDeliverResponseCode :: Monad m => MonadFail m => Word32 -> SynchronousResponse a b -> m () Source #
ensureResponseCodes :: MonadFail m => (Word32, Word32) -> SynchronousResponse a b -> m () Source #
assertQuery :: Monad m => MonadFail m => m (QueryClientResponse a) -> m (QueryResult a) Source #
Query helpers
ensureQueryResponseCode :: Monad m => MonadFail m => Word32 -> QueryClientResponse a -> m () Source #