awaitAnyOrNull

Suspends until the component is used and all checks passed, and returns the event, or null if the timeout has been reached.

Throws

If the received event cannot be cast to the requested type