Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated readme

  • Loading branch information...
commit 4217cb0206fa1e61b5bb67b148188cbe363249bc 1 parent e089d27
@nisbus authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -21,11 +21,11 @@ Example:
Start the server with a window length of one minute and print out data as it arrives and again when it expires.
```erlang
-winderl:start_link({0,1,0}, fun(X) -> io:format("Data received: ~p~n",[X]) end, fun(X) -> io:format("Data expired: ~p~n",[X]) end, undefined).
+winderl:start_link({0,1,0}, fun(X) -> io:format("Data received: ~p~n",[X]) end, fun(X) -> io:format("Data expired: ~p~n",[X]) end, undefined,100).
```
```erlang
-winderl:stream_update("First data inserted").
+winderl:update("First data inserted").
```
Now you should see "Data received: First data inserted" printed on the console and
Please sign in to comment.
Something went wrong with that request. Please try again.