[SOLVED] Is there any off method available on event bus?

Hello there! i am using event bus as a communication channel between my dynamic execution contexts(functions that are executed dynamically and register some handlers on the global event bus) the thing is that is there any off method available on event bus? cause from time to time i am in need of switching channels and detach my previous registered listeners.
thanks in advance.

notificationEvents.off(ā€˜notificationReceivedā€™, ā€¦)

2 Likes

https://framework7.io/docs/events.html#events-methods

1 Like