@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.
Hey @support So I've been playing around still, turns out the batch of threads we covered my last thread will not work correctly for what I'm aiming for, so I've came up with a complicated solution but the only problem I'm having is setting the threads with an expression using the User Input settings. After running/opening it the code gets cutout by the engine.
section((({{useHuman}}) == ("True")) ? (50) : ({{threads}}) /*(({{useHuman}}) == ("True")) ? (50) : ({{threads}})*/,1 /*1*/,1 /*1*/,0,function()
Is this a bug or my fault with the code?
Allister☯