ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

broadcast: add another handler that notifies on certain events #172

Closed saxon-milton closed 2 days ago

saxon-milton commented 4 days ago

We often notify when publishing error events. We could instead carry the error information in the event and then add another handler that's solely responsible for notifying for different error conditions.

saxon-milton commented 2 days ago

After thinking more about this, we've decided that it's probably not any more useful than notifying in the broadcast state machine where the error is handled relative to the current state. So now a wont fix.