How to make a smooth transition from old data to new data without knowing the transfer time?

suppose there is a planned route on the map, and a car is driving along the route, and when an emergency occurs, the road ahead is congested, and the background needs to re-send rescheduled path information to the front end, but the transmission of the path information takes a period of time, and the length of this period of time is unknown. How should the front end handle this period of time to make a smooth transition from the original path to the new path.

Mar.04,2021

the background sends the start location information to the foreground


this, I think what you need to consider is not "how should the front end handle this period of time"
but how to do quickly and seamlessly switch routes . For navigation applications, I was driving, and navigation suddenly shouted that I was going to change routes, and then navigation did not change routes in time, but prompted me to switch, the time is not certain, which is driving me, whether to continue to walk or stop? When your plan is completed,

go, if you miss the intersection, you haven't finished planning what to do.
stop, you basically don't have a chance to stop on the highway

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39796-2c1c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39796-2c1c5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?