NavigateUp
fun EventSchemaBuilderScope.NavigateUp(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, navigatorId: String)
Pops the back stack of the graph registered under navigatorId, going back one entry. Does not consume incomingData. Dispatches onSuccess (no data) when an entry was popped; onFailure (no data, logged) when no navigator is registered under navigatorId or there was nothing to pop.
Parameters
id
Unique identifier of this event. Defaults to a random id.
trigger
Trigger that fires this event, built via EventTriggers.
events
Child events chained after this one, wired to its triggers (onSuccess, onFailure).
navigatorId
Id of the graph (Graph/NestedNavigationGraph) to pop.