I have a script that I want to stop a function if a certain event happens, but I don't know how to stop a function while it's running. How do I do it?
COMMUNITY QUESTION
Is there a way to stop an already running function?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Do you want to be able to resume the function after it is stopped or no?
No, but I will need to call it again later
you can stop the function in the function