awaitAny

Suspends until the component is used and all checks passed, and returns the event.

Throws

TimeoutCancellationException

If the timeout set in the component builder has been reached

If the received event cannot be cast to the requested type