why deepstreamHub? compare us getting started faq
use cases
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