waitfor

  1. Didier9

    B4J Question Need help with WaitFor [solved]

    I have not had much success using WaitFor At the moment, I want to use it to trap either one of two boolean flags after I send a command via AStream. One flag is set when I received a message via AStream_NewData the other is set in a TimeOutTimer_Tick event if the command times out. So I would...
  2. L

    B4J Question Using Wait For for 2 different events

    I need to trap both HTTP POST 'success' and 'error' conditions within a single sub... I'm currently using OkHttp to POST API calls to a service and I have 2 Wait For statements as follows: Wait For postRequest_ResponseError ( ....) (some code) Wait For postRequest_ResponseSuccess ( ...)...
  3. F

    Android Question Problem with WaitFor - Object context is paused (HttpJob)

    Hello, I'm trying to interrogate a webservice using HttpJob with the code below, but it keeps displaying this message "Object context is paused. Ignoring CallSubDelayed: JobDone". I have another function in this class which does basically the same thing and it works fine. What am I missing...
Top