await

abstract suspend fun await(): T(source)

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