Returns the currently active selection as a promise.
Registers an listener callback which will be called on selection
Event listener, which will be called on selection
Returns the currently active selection as a promise.