I have a use case in which I have to fire an event from the server to the liveview. To handle the event in the liveview I have to use
Phoenix.LiveView.assign/2 which expects a
Phoenix.LiveView.Socket -to which the liveview is already connected-, my question is how do I get the currently connected socket to liveview in order to do so.
Thanks in advance