ActionCable: One channel per user

China☆狼群 提交于 2019-12-04 07:22:57

The solution was actually simple, but some new terms introduced in ActionCable made it confusing. By the way, here's how I solved it.

I used a single channel but multiple streams for different users. Here's the ActionCable documentation link that clearly states a very identical scenario. I went through the documentation earlier, but somehow I didn't understand it at the first glance.

Sorry for not providing any direct code, I think the documentation will explain it totally.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!