Create an event from external event source. The init() function will be called immediately. The notify() function is used to emit data to event listeners.
init()
notify()
Create an event from external event source. The
init()
function will be called immediately. Thenotify()
function is used to emit data to event listeners.