@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 like this awesome tool, but the problem i have is my programs end up either hanging or outrightly threads just get terminated before they run the function running in them to completion.
what could be the cause of this?
@johseenrogue007
Try to reinstall it.
thread crash may be caused by super fast loops or infinite loops
if ur program lags and you cant interact with bot instance during execution it likely also means one of these