@sergerdn Thank you for sharing your experience and pointing to the important steps. Sounds like sophisticated task that needs a lot of knowledge and effort.
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.