How it works...

In this recipe, we use the simplelocalnet backend to start both master and slave nodes. It is possible to use different backends such as the p2p (peer to peer) or Azure backend. When we are closing the master, we close all slave nodes.

Get Haskell Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.