once
Sets a one-time listener for a specific event.
Parameters
event
The event to listen for.
handler
The function to call when the event occurs.
Sets a one-time listener for a specific event.
The event to listen for.
The function to call when the event occurs.