@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
i run five threads at once.
I want to run another function when these 5 operations are finished or when the error occurs, and then I need to run these 5 threads again.
for example, when one thread is successful, it will wait for the others to finish.
How can I do that?
@enesmertc said in multi-threads:
i run five threads at once.
I want to run another function when these 5 operations are finished or when the error occurs, and then I need to run these 5 threads again.for example, when one thread is successful, it will wait for the others to finish.
How can I do that?
Use the "Call function in several threads" action