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