Please tell me, how can I get periodic notifications or events?
My goal is to let my module to perform a periodic task.
I tried to create a new MyTask object (MyTask is extending Task, and I put
the periodic task I want to perform into its Run function). Then I created
new TimeoutTask with the MyTask object and the period I'd like task to be
performed; but this solution doesn't seem to be right.
Or should I signal MyTask with an event?
I'm very grateful if you can either hint the correct solution or the
source describing the topic.