once
Similar to on, except that the listener will be removed after processing one event.
Return
A token, which can be used later to turn the listener off.
Parameters
eventType
listener
Similar to on, except that the listener will be removed after processing one event.
A token, which can be used later to turn the listener off.