add readme how to emit events