01-24-2022 11:41 AM
@FabiolaDelaCueva wrote:
@joerg.hampel wrote:
@FabiolaDelaCueva wrote:
Check out tip 4 from this blog post http://delacor.com/tips-and-tricks-for-a-successful-dqmh-based-project/
It talks about how to create state machines inside a Message Handling Loop case.
I would prefer a helper loop to a state machine inside the MHL.
They each have their use.
Out of curiosity, mind sharing what you view as their use cases?
(The only differentiator that I'm yet familiar with is whether you want to keep the messaging ability in-tact during the duration of the message execution. If yes, then offload the work to the helper loop; if no for some special/corner case reason, then do the work in the message loop.)