Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.
The name of the event.
The callback function.