mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update action_cable_overview.md
: fix typo.
[ci skip]
This commit is contained in:
parent
19f0f14074
commit
9a7f95c229
1 changed files with 3 additions and 3 deletions
|
@ -242,9 +242,9 @@ WebNotificationsChannel.broadcast_to(
|
||||||
```
|
```
|
||||||
|
|
||||||
The `WebNotificationsChannel.broadcast_to` call places a message in the current
|
The `WebNotificationsChannel.broadcast_to` call places a message in the current
|
||||||
subscription adapter (by default `redis` for production and `async` for development and
|
subscription adapter's pubsub queue under a separate broadcasting name for each user.
|
||||||
test environments)'s pubsub queue under a separate broadcasting name for each user.
|
The default pubsub queue for Action Cable is `redis` in production and `async` in development and
|
||||||
For a user with an ID of 1, the broadcasting name would be `web_notifications:1`.
|
test environments. For a user with an ID of 1, the broadcasting name would be `web_notifications:1`.
|
||||||
|
|
||||||
The channel has been instructed to stream everything that arrives at
|
The channel has been instructed to stream everything that arrives at
|
||||||
`web_notifications:1` directly to the client by invoking the `received`
|
`web_notifications:1` directly to the client by invoking the `received`
|
||||||
|
|
Loading…
Reference in a new issue