D Dey Active Member Licensed User Longtime User May 24, 2017 #1 Code: example Sub Test Inquiry (1) WAIT FOR query_resulted ... continue End sub Sub Request (i as int) ... code required WAIT For Richiesta_resultato CallsubDelayed (Me, "query_resulted") End sub
Code: example Sub Test Inquiry (1) WAIT FOR query_resulted ... continue End sub Sub Request (i as int) ... code required WAIT For Richiesta_resultato CallsubDelayed (Me, "query_resulted") End sub
Erel B4X founder Staff member Licensed User Longtime User May 24, 2017 #2 You can see such an example here: https://www.b4x.com/android/forum/threads/b4x-resumable-subs-sleep-wait-for.78601/page-2#post-499130 Upvote 0
You can see such an example here: https://www.b4x.com/android/forum/threads/b4x-resumable-subs-sleep-wait-for.78601/page-2#post-499130
D Dey Active Member Licensed User Longtime User May 24, 2017 #3 Erel said: You can see such an example here: https://www.b4x.com/android/forum/threads/b4x-resumable-subs-sleep-wait-for.78601/page-2#post-499130 Click to expand... Every now and then I get this mistake I can not understand Thank you Spoiler: Log java.lang.Exception: Sub tavolirichiestasingolo_result signature does not match expected signature. public static void BAR.Tablet.cls_tavoli_subs_0._tavolirichiestasingolo_result() throws java.lang.Exception Upvote 0
Erel said: You can see such an example here: https://www.b4x.com/android/forum/threads/b4x-resumable-subs-sleep-wait-for.78601/page-2#post-499130 Click to expand... Every now and then I get this mistake I can not understand Thank you Spoiler: Log java.lang.Exception: Sub tavolirichiestasingolo_result signature does not match expected signature. public static void BAR.Tablet.cls_tavoli_subs_0._tavolirichiestasingolo_result() throws java.lang.Exception
Erel B4X founder Staff member Licensed User Longtime User May 24, 2017 #4 You need to post the relevant code. Upvote 0
D Dey Active Member Licensed User Longtime User May 24, 2017 #5 Erel said: You need to post the relevant code. Click to expand... Code: 'Crea WAIT FOR If SubExists(Me,"TavoliRichiestaSingolo_result") Then CallSubDelayed2(Me,"TavoliRichiestaSingolo_result",s_t) End If If SubExists(mCallBack,"ULV_DB_Tavolo_Aggiorna") Then CallSubDelayed2(mCallBack,"ULV_DB_Tavolo_Aggiorna",s_t) End If It is correct on WAIT For Sub_Request put If SubExists (Me, "Sub_Request") then ... End if Upvote 0
Erel said: You need to post the relevant code. Click to expand... Code: 'Crea WAIT FOR If SubExists(Me,"TavoliRichiestaSingolo_result") Then CallSubDelayed2(Me,"TavoliRichiestaSingolo_result",s_t) End If If SubExists(mCallBack,"ULV_DB_Tavolo_Aggiorna") Then CallSubDelayed2(mCallBack,"ULV_DB_Tavolo_Aggiorna",s_t) End If It is correct on WAIT For Sub_Request put If SubExists (Me, "Sub_Request") then ... End if
Erel B4X founder Staff member Licensed User Longtime User May 24, 2017 #6 Where is the Wait For code? SubExists is not really required in most cases. Upvote 0
D Dey Active Member Licensed User Longtime User May 24, 2017 #7 Erel said: Where is the Wait For code? SubExists is not really required in most cases. Click to expand... Thanks Erel, There are so many tests I'm doing to integrate IMPORTANT new features In a very large solution Upvote 0
Erel said: Where is the Wait For code? SubExists is not really required in most cases. Click to expand... Thanks Erel, There are so many tests I'm doing to integrate IMPORTANT new features In a very large solution