Currently working on a AIR project based on PureMVC framework. There was a new requirement to the project, an operation is to be performed repetitively at regular interval which would have some business logic.
I would be placing the business logic in a command, but then question what comes up is where and who should be triggering this command at specific interval. As of now I have trigger to call command in a mediator. Is this correct?
How do I find a solution for this kind of scenario?