observe

suspend fun observe(repository: NavigationSettingsRepository, navigationManager: NavigationManager)

Reactively observes repository changes and applies them to navigationManager. This is a suspend function that never returns — call it from a coroutine scope that is tied to the NavigationManager lifecycle.