There is one function which is listening.
I want it to be run continuously and rest of the program should also be fully operatable.
How can i do it?