listen Suspend
Registers a suspendable listener for the specified event type T.
This function is similar to listen but allows handling the event asynchronously using suspend functions.
Return
An EventHandle that can be used to unregister the event listener.
Parameters
The priority at which the event is handled.
Whether or not the event is ignored if it is cancelled.
If true, the listener will automatically unregister after it is triggered once.
The delay in milliseconds before the event is handled.
The debounce time in milliseconds for event handling.
The throttle time in milliseconds to limit the frequency of event handling.
The scope of the event listener, where conditions for the event can be defined.
A filter function to determine if the event should be handled.
The suspend function to execute when the event is triggered.