finish

fun finish(
    route: Route,
    segmentIndex: Int,
    result: RoutingResolveResult
): Unit

Finishes processing a route at segment with segmentIndex in segments with the given result.