I want to run calculateSomething function for a specific period of time, for example for 1 minute which this function receive messages from M
calculateSomething
1 minute
M