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

Safe HaskellNone



Local nodes



data LocalNode Source

Local nodes

newLocalNode :: Transport -> RemoteTable -> IO LocalNodeSource

Initialize a new local node.

Note that proper Cloud Haskell initialization and configuration is still to do.

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

initRemoteTable :: RemoteTableSource

Initial (empty) remote-call meta data