awaitShowRoot

abstract suspend fun awaitShowRoot(root: NavRoot)

Assert that the next event received was a "show root" navigation event with matching parameters. This function will suspend if no events have been received.

Throws

  • if the next event was not a matching event.