Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Koutsky committed Apr 16, 2018
1 parent 368a83d commit b7d2e8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Please note, this library is **BETA**
- [ ] Push notifications
- [ ] Subscribe to a list of channels after startup
- [ ] Full recovery after network outage, exit, etc. Buffer needed.
- [ ] Refactor :gun.conn PID handling.

## Usage
### A simple implementation in an OTP application would be:
Expand Down Expand Up @@ -111,7 +112,7 @@ SimpleClient.presence()
SimpleClient.trigger("private-channel", "first-event", %{message: "Ahoj"})
:ok
# ...
SimpleClient.channels()
SimpleClient.subscribed_channels()
["presence-channel", "private-channel", "public-channel"]
# ...
SimpleClient.unsubscribe("public-channel")
Expand Down

0 comments on commit b7d2e8a

Please sign in to comment.