Permalink
Browse files

Updated readme for api changes

  • Loading branch information...
nisbus committed Nov 1, 2012
1 parent 358a5f4 commit 410ec70f150fa5ce0e65b193fb05bd4276cd5332
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -26,15 +26,15 @@ where the parameters are:
###Start pumping out data:
```erlang
-monterl_carlo:start("MSFT",fun(X) -> io:format("~p~n",[X]) end).
+monterl_carlo:subscribe("MSFT",fun(X) -> io:format("~p~n",[X]) end).
```
This will start pumping out the state of the simulation at the interval you specified.
You can stop it by calling:
```erlang
-monterl_carlo:stop("MSFT").
+monterl_carlo:unsubscribe("MSFT").
```

0 comments on commit 410ec70

Please sign in to comment.