ausocean / cloud

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

Merge broadcast man save and config update transaction #190

Closed saxon-milton closed 5 days ago

saxon-milton commented 5 days ago

closes #177

We're having OceanBroadcastManager.Save wrap updateConfigWithTransaction, which achieves several things.

Firstly, if everything uses OceanBroadcastManager.Save for updating broadcast config fields, then we'll have everything inherently synchronised propertly.

Secondly, this should greatly reduce boilerplate associated with using updateConfigWithTransaction for every modifification of the broadcast config.