git.iko.soy/distributed-process
on master help sign in
Add runProcess documentation.
commit4c4a4f3089df461b8be4390f81ce2baf319a6167 authorNicolas Wu <nick@well-typed.com> dateWed 14 Dec 2011, 10:31 (15 years ago) parentcd6df24
1 file changed+2
distributed-process/src/Control/Distributed/Process.hs+2
distributed-process/src/Control/Distributed/Process.hs+2
@@ -109,6 +109,8 @@ newLocalNode trans = do
109109 ndTransport = trans
110110 }
111111
112+-- | `runProcess` executes a process on a given node, and waits for the process
113+-- to finish before returning.
112114runProcess :: LocalNode -> Process () -> IO ()
113115runProcess node proc = do
114116 waitVar <- newEmptyMVar