The essence of what. I work on Dzhanga. I do not know for sure, but I guess that there is some kind of main thread that comes from the process launched by the server, which processes the user's request, and then immediately stops its work.
In this thread, you need to start another stream that should work out the simplest function (for example, print) after some time, for example, in a minute.
I understand that the best choice for me is Timer in the threading module.
But, if the stream is not a daemon, then the parent stream will hang for a minute along with the child, so how can it not stop its work, and will eat resources? I understand correctly? That is, do I need to set the daemon property = True?
What, programmatically and by properties, does a regular stream differ from a daemon? What data does it store? I would also like to know. When should each type be used?