I want to get a line of word from my file, type it and delete it at the same time, but it's not deleting until the thread finished, and when I'm doing it in a multi thread its getting the same word at the same time. How
I'm using While (for loop), if and else. How can i force to exit Nodejs and give success inside the loop ? I did try to create success action and use it, but not working well.