flask-executor
flask-executor copied to clipboard
Kill a single process id
I ran a background process using flask-executor with this command:
executor.submit_stored("TEXT_LABEL", background_function, args*)
While i did some research i read that there is a method to kill an executor with executor.shutdown(), but this method stops all running processes.
Is there a way to stop only the running process labeled with TEXT_LABEL id?