In a web app, via handleSpecialURL, I launch a thread, which launches a Curl request with curlsMBS and performMT.
In the “finished” event of the curlsMBS object, I launch a new thread, which launches a new Curl request with performMT. it seems to work well.
But is it safe to launch a new CURL request in the “finished” event of another Curl request? Or is it better to launch a timer in the “finished” event to start the new request than a second later, for example?
Translated with www.DeepL.com/Translator
What about a finished boolean set to true
And a poll to this variable to launch another download request ?
I used that with curl in AppleScript years agoto download lots of individual files.