@m4zuper Strange, as this is broken at least since 26.8.0 or something related to this. Hence I thought it's generally not working an concerns every user...
Currently using 27.6.2 on Windows 10, 64BG RAM, Ryzen 7 5800X. BAS is installed at the standard location on C drive. And it happens with every project I try to add this way. Okay, it's not that issue but it's convient to add a project with just one click.
Can I use "call function" in an async function?
-
Lets say I have four functions in one script: Main, controller, load and inputCredentials.
The Main function is essentially only a loop waiting for new credentials. when it gets the new credentials (through an api) it starts controller function using "call function asynchronously" module. Then the controller calls load and inputCredentials functions.
So, the controller can work asynchronously with the Main function and the async thread will end when the account is created. Is that possible? If not, what is the alternative approach?
Test Script:
test_script.xml -
@pirkhezr Asynchronous functions and multi-threaded function calls operate independently of the main logic; they do not have shared variables.
To use logic and transfer data within such functions, use global variables, as they can transfer data within functions, which local variables cannot do.
-
This post is deleted!