feat: domain event bus for multi-client sync (issue #26, phase 2)

This commit is contained in:
2026-07-14 19:33:07 +02:00
parent 700ed79c43
commit 16f45d77b2
14 changed files with 309 additions and 10 deletions

View File

@@ -27,8 +27,12 @@ defmodule BDS.Settings do
})
|> Repo.insert_or_update()
|> case do
{:ok, _setting} -> :ok
{:error, reason} -> {:error, reason}
{:ok, _setting} ->
:ok = BDS.Events.settings_changed(key)
:ok
{:error, reason} ->
{:error, reason}
end
end
end