InterceptDefinition
data class InterceptDefinition(val guard: NavigationGuard, val loadingThreshold: Duration = 200.milliseconds)(source)
Defines an intercept guard that applies to all navigation into a group of graphs, including deep links.
Created by the NavigationGraphBuilder.intercept DSL method.
Parameters
guard
Guard evaluated before navigation is committed; returns a GuardResult decision
loadingThreshold
How long to wait before showing the global loading modal (default 200ms)