class

EventBus::EventHandler

Inherits Reference < Object

Instance methods

on_close

Method invoked when Application is going to close. Override this method, if you need to perform some cleanups

Source
on_connect

Method invoked when Listener is connected to PG. Override this method, if you need to perform some work

Source
on_event(event : Event) : Nil

Method invoked whenever there is new Event received.

Source
on_start

Method invoked when Application is going to start. Override this method, if you need to perform some work

Source