From b7d2e8ac41583656a2e06bcf10d6b8667e48e14b Mon Sep 17 00:00:00 2001 From: Tomas Koutsky Date: Mon, 16 Apr 2018 22:49:42 +0200 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 48ba764..6b6d174 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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")