distributed-process-0.4.0.2: Cloud Haskell: Erlang-style concurrency in Haskell

Safe HaskellNone

Control.Distributed.Process.Node

Description

Local nodes

TODO: Calls to sendBinary and co by the node controller may stall the node controller.

Synopsis

Documentation

data LocalNode Source

Local nodes

Instances

newLocalNode :: Transport -> RemoteTable -> IO LocalNodeSource

Initialize a new local node.

closeLocalNode :: LocalNode -> IO ()Source

Force-close a local node

TODO: for now we just close the associated endpoint

forkProcess :: LocalNode -> Process () -> IO ProcessIdSource

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