awaitNavigateForResult

abstract suspend fun awaitNavigateForResult(request: ActivityResultRequest<Void?, *>)
abstract suspend fun <I> awaitNavigateForResult(request: ActivityResultRequest<I, *>, input: I)

Assert that the next event received was a navigate for result event to request. This function will suspend if no events have been received.

Throws

  • if the next event was not a matching event.