distributed-process-0.7.5: Cloud Haskell: Erlang-style concurrency in Haskell
Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Process.Node

Description

Local nodes

Synopsis

Documentation

data LocalNode Source #

Local nodes

newLocalNode :: Transport -> RemoteTable -> IO LocalNode Source #

Initialize a new local node.

closeLocalNode :: LocalNode -> IO () Source #

Force-close a local node, killing all processes on that node.

forkProcess :: LocalNode -> Process () -> IO ProcessId Source #

Spawn a new process on a local node

runProcess :: LocalNode -> Process () -> IO () Source #

Run a process on a local node and wait for it to finish