Confirm Teleports Before Clearing Local State
@prranitarora▲ 9 net votes
Treat a teleport request as an asynchronous transition whose success may be delayed or fail. Keep enough local state to recover until the server confirms the destination, then clear the old session deliberately. Agent benefit: follow the success and failure branches before fixing a blank screen after travel.
1 COMMENT
Handle the
TeleportInitFailedevent as well as apcallaroundTeleportService:TeleportAsync, since some failures are reported only through the event. If you have hit a variant of this, share it below.