I am creating an OmniWorker-Task to do some data processing.
So far, the Task is able to receive and send messages from/to other tasks.
Now I need to implement the main function for this task. This function will run continuously and do the data processing, while messages will modify it's behavior.
But where do I put this main function?
Is there anything like an "Execute"-method for an OmniWorker, that I need to implement?