Register a listener that fires at most once for a Stream Deck connect/disconnect event.
The event to listen for
Called the next time a matching event occurs, then automatically removed
Throws an Error on failure; wrap calls in try/catch to handle it.
Register a listener that fires at most once for a Stream Deck connect/disconnect event.