There was an error while loading. Please reload this page.
1 parent d7d48d0 commit 55134b2Copy full SHA for 55134b2
tutorials/1ch.md
@@ -269,8 +269,8 @@ main = do
269
node <- newLocalNode transport myRemoteTable
270
runProcess node $ do
271
us <- getSelfNode
272
- _ <- spawnLocal $ sampleTask (1 :: Int, "locally")
273
- pid <- spawn us $ $(mkClosure 'sampleTask) (1 :: Int, "remotely")
+ _ <- spawnLocal $ sampleTask (1 :: Int, "using spawnLocal")
+ pid <- spawn us $ $(mkClosure 'sampleTask) (1 :: Int, "using spawn")
274
liftIO $ threadDelay 2000000
275
{% endhighlight %}
276
0 commit comments