Safe Haskell | None |
---|---|

Language | Haskell2010 |

## Synopsis

- direct :: forall block point m a b. Monad m => BlockFetchClient block point m a -> BlockFetchServer block point m b -> m (a, b)
- directPipelined :: forall block point m a b. Monad m => BlockFetchClientPipelined block point m a -> BlockFetchServer block point m b -> m (a, b)

# Documentation

direct :: forall block point m a b. Monad m => BlockFetchClient block point m a -> BlockFetchServer block point m b -> m (a, b) Source #

Run

and `BlockFetchClient`

directly against each
other. This includes running it in any pure monad (e.g. `BlockFetchServer`

), and
return the result of client and the server.`Identity`

directPipelined :: forall block point m a b. Monad m => BlockFetchClientPipelined block point m a -> BlockFetchServer block point m b -> m (a, b) Source #

Run a pipelined client against a server, directly, and return the result of both client and the server.