Android Question Wait for with timeout

LogicMaker

New Member
Licensed User
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
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

Administrator
Staff member
Licensed User
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.
 
Top