Ygopro 2 connect offline10/29/2023 ![]() ![]() allowing them to eventually fix the connection problem if there is one, and to continue using your app with a fair amount of forgiveness. ![]() So your best bet may be to just fail gracefully, preserve the data, and alert the user. wireless connections may come and go, etc. Sidenote: To put the entire application in an "offline" state may lead to a lot of error-prone work of handling state. ![]() ![]() If it doesn't go through, alert the user to check the connection, and fail gracefully. The standard approach is to retry the request a few times. You can determine that the connection is lost by making failed XHR requests.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |