An async event emitter.