We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19d011d commit fccb5eeCopy full SHA for fccb5ee
README.md
@@ -533,7 +533,7 @@ let pusher = Pusher(key: "YOUR_APP_KEY")
533
534
let chan = pusher.subscribeToPresenceChannel("presence-channel")
535
536
-let _ = chan.bind(eventName: "pusher:subscription_succeeded", callback: { data in
+chan.bind(eventName: "pusher:subscription_succeeded", callback: { data in
537
print("Subscribed!")
538
print("I can now access myId: \(chan.myId)")
539
print("And here are the channel members: \(chan.members)")
0 commit comments