He meant one script per thread.
Each asynchronous function started, starts in separate thread.
So in that example you will have 2 threads since 2 asynchronous functions
will be started, each with its own (different) script.
Hello
I try to find the answer in this forum in the last few days but no luck... I need your help
I have a list of elements saved in a resource Accounts, and a function LoginSingleYoutube.
I'm trying to call Api from web interface to run this function in multithreads. Each thread will get a value from resource and use it in the function.
Web interface:
await Api.RunFunction("LoginSingleYoutube", {});
BAS LoginSingleYoutube function:

However only 1 thread is called no matter how many {{Threads}} I set
Where am I wrong?
@luanvo94 said in Multi threads from web interface:
However only 1 thread is called no matter how many {{Threads}} I set
Where am I wrong?
If you run the threads manually, then you should run them all programmatically.
@luanvo94 said in Multi threads from web interface:
So I have to manage threads in the web interface not in the BAS?
yes