What would be the proper usage of loop wait(1)? Can i use that?
In this situation:
In the loop i call a function that writes some records into a file. Sometimes it could happen the write slows down.
So i put a wait_for after the function call, inside the loop.
Will the engine handle properly my file updater function?
I am afraid the calls will accumulate and maybe they have to wait the end of the function. And it will go infinitely...