You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CheshireCaat edited this page Mar 8, 2020
·
10 revisions
Run functions with client
If you want to run the function, and you do not need to control the lifetime of the threads, use BasRemoteClient instance for this. In this case, the client itself creates and terminates BAS threads to perform functions.
The run_function() method returns an instance of the BasRunner class.
Using it, you can stop the execution of a running function, get the ID of the thread in which it was run, or get the function result using method result().