Adds a listener that is triggered once when an event of the specified type occurs, and removed afterwards.
The socket to listen for events at.
The type of the event to listen for.
The delegate to call when an event happened.
See Implementation
Adds a listener that is triggered once when an event of the specified type occurs, and removed afterwards.