Andre Souza Member Licensed User Nov 17, 2015 #1 Hello I want to create a function that checks for example whether a particular e-mail exists in the database. As jobdone function is asynchronous , it needs to create several procedures to get the desired value at another point . There is a way of facilitating this , so that a single function can not receive the values without rewriting various procedures Code: Copy Sub ExistEmail(Email As String) As Boolean // End Sub Code: Copy Sub JobDone (Job As HttpJob) // return value End Sub Last edited: Nov 17, 2015
Hello I want to create a function that checks for example whether a particular e-mail exists in the database. As jobdone function is asynchronous , it needs to create several procedures to get the desired value at another point . There is a way of facilitating this , so that a single function can not receive the values without rewriting various procedures Code: Copy Sub ExistEmail(Email As String) As Boolean // End Sub Code: Copy Sub JobDone (Job As HttpJob) // return value End Sub
Erel B4X founder Staff member Licensed User Longtime User Nov 17, 2015 #2 No. You cannot hold the main thread. Upvote 0