Emit a new event based on the values returned from another event.