Search code examples
phoenix-frameworkphoenix-channels

List of all listeners on channel


How is it possible to see all listeners on channel at some moment ? (I mean phoenix-js and client-side js code)

Something, like this:

channel.eventListeners = ['event1', 'event2'] ...

Solution

  • I found all I need in channel.bindings