I have a console app that logs several different logs in a loop. What i'm trying to achieve is make this console app also accept console commands, but in case i readLine, app gets blocked.
Is there any way to achieve this ? Would it require multithreading ?
I want the app to never stop processing what is doing, but in case the user types something in the console it will pick it up to proccess on the next loop.