Lets say I have something executing using the wait module. e.g
function someLoop()
wait.make(function()
...
end)
end
I want to be able to prematurely abort execution of this function from outside this function. E.g, some other trigger detects that something happens, and needs to stop this function. Is this possible?
function someLoop()
wait.make(function()
...
end)
end
I want to be able to prematurely abort execution of this function from outside this function. E.g, some other trigger detects that something happens, and needs to stop this function. Is this possible?