Phoenix.LiveView.push_event

You're seeing just the function push_event, go back to Phoenix.LiveView module for more information.
Link to this function

push_event(socket, event, payload)

View Source

Pushes an event to the client to be consumed by hooks.

Note: events will be dispatched to all active hooks on the client who are handling the given event. Scoped events can be achieved by namespacing your event names.

Examples

{:noreply, push_event(socket, "scores", %{points: 100, user: "josé"})}