why deepstreamHub? compare us getting started feature roadmap faq
use cases pricing
products
developers
company
blog contact

This listener is notified whenever a given event is triggered, whether by this client or by another. It can be added via EventHandler.subscribe(_:listener:)

Methods

onEvent(_:data:)

func onEvent(_ eventName: String, data: Any) -> Void
argument type description
eventName String The event name
data Any The arguments that the event has been called with