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 1294997 commit 83b6fb8Copy full SHA for 83b6fb8
packages/core/realtime-js/README.md
@@ -88,7 +88,7 @@ Your client can send and receive messages based on the `event`.
88
```js
89
// Setup...
90
91
-const channel = client.channel('broadcast-test', { broadcast: { ack: false, self: false } })
+const channel = client.channel('broadcast-test', { config: { broadcast: { ack: false, self: false } } })
92
93
channel.on('broadcast', { event: 'some-event' }, (payload) =>
94
console.log(payload)
0 commit comments