co based event emitter handling.