awaitReplaceAllBackStacks

abstract suspend fun awaitReplaceAllBackStacks(root: NavRoot)

Assert that the next event received was a "replace all back stacks" 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.