awaitSwitchBackStack

abstract suspend fun awaitSwitchBackStack(root: NavRoot)

Assert that the next event received was a "switch back stack" 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.