Considering Channelin which several users are connected to a certain topic, let's say "rooms:lobby"I would like to be able to store information related to the channel that I can receive and possibly update every time a new in message appears. In a sense, I want each topic to be its own theme GenServer-like.
From what I can say, it Phoenix.Socket.assign/3stores information that is local to each user, and therefore will not work.
Havvy source
share