ML-189: simplify release-component notifications

- Use a tagged type
- Leave skipping responsibility to subscribed process
This commit is contained in:
Claudio Ortolina
2026-05-19 12:18:07 +01:00
parent 73046bb0f5
commit f1fde63d42
4 changed files with 32 additions and 9 deletions
@@ -470,6 +470,10 @@ defmodule MusicLibraryWeb.CollectionLive.Show do
RecordActions.handle_chats_changed(socket)
end
def handle_info({MusicLibraryWeb.Components.Release, {:loaded, _release}}, socket) do
{:noreply, socket}
end
@impl true
def handle_info({:update, record}, socket) do
cond do