retainOnly

suspend fun retainOnly(waypointIds: Set<Int>)(source)

Drop crossing state for waypoints no longer active, bounding memory growth.