EventEmitter for scala