Event bus #369
vzahradnik
started this conversation in
Ideas
Event bus
#369
Replies: 1 comment 5 replies
-
Agreed, I think this would be a good addition. It was in the original plan to support MQQT and other decoupled solutions. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While I'm thinking of a more decoupled architecture for my firmware using TaskManager from TcMenu, I figured that it would be useful to implement an event bus.
For example, once the device is connected to the network, it will broadcast a message. Other components of the app will listen to this event and can start an activity like initializing an MQTT client.
I believe it shouldn't be difficult to implement and I also think the TcMenu ecosystem would benefit from a feature like this.
Beta Was this translation helpful? Give feedback.
All reactions