LogicMaker New Member Licensed User Longtime User Jul 31, 2019 #1 Wait For is a great addition to the B4A. Is it possible to add a Timeout condition with the Wait For?
Wait For is a great addition to the B4A. Is it possible to add a Timeout condition with the Wait For?
KMatle Expert Licensed User Longtime User Jul 31, 2019 #2 It's given in the "method" you call. E.g. OkHttpUtils. Here you set the timeout. Wait For just waits until the method calls the event. Here it is JobDone. Same to other events you want to wait for. Upvote 0
It's given in the "method" you call. E.g. OkHttpUtils. Here you set the timeout. Wait For just waits until the method calls the event. Here it is JobDone. Same to other events you want to wait for.
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2019 #3 The answer above is correct. There are ways to implement a timeout feature in your code. The exact details depend on the event you are waiting for. Upvote 0
The answer above is correct. There are ways to implement a timeout feature in your code. The exact details depend on the event you are waiting for.
LogicMaker New Member Licensed User Longtime User Jul 31, 2019 #4 Thank KMatle for quick respond. I found a workaround solution for my requirement in the following post: (it works). Thanks Erel. https://www.b4x.com/android/forum/threads/udp-acknowledge-wait-for-with-timeout.89185/ Upvote 0
Thank KMatle for quick respond. I found a workaround solution for my requirement in the following post: (it works). Thanks Erel. https://www.b4x.com/android/forum/threads/udp-acknowledge-wait-for-with-timeout.89185/