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.
How it works...
Get Haskell Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.