abstract suspend fun wait(t: Long? = null) Waits until the event listener reports idle (no new events received in a certain timespan). When \`t\` is provided, ensures waiting for \`t\` milliseconds, no matter what.
Parameters
Time in milliseconds to wait, or null to wait until idle.