Flask - Background Tasks
In a Flask application, how do you correctly launch a function to run asynchronously using Python's threading module?
.start() to run it in the background.Thread(target=your_function).start() -> Option B.start() runs the function asynchronously [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions