Registers event listeners Define your success, error and skip handler
void on(String event, Function handler) { EventCallback cb = (event, cont) { handler(event.eventData); }; _eventEmitter.on(event, null, cb); }