View Source LiveAdmin.Notifier (LiveAdmin v0.13.0-dev)

Link to this section Summary

Link to this section Types

Specs

announce_opts() :: [{:type, :error | :success | :info}]

Link to this section Functions

Link to this function

announce(session \\ nil, message, opts \\ [])

View Source

Specs

announce(LiveAdmin.Session.t(), String.t(), announce_opts()) :: :ok
Link to this function

broadcast(session \\ nil, info)

View Source

Specs

broadcast(LiveAdmin.Session.t(), any()) :: :ok
Link to this function

job(session, pid, progress, opts \\ [])

View Source

Specs

job(LiveAdmin.Session.t(), pid(), float() | integer(), [{:label, String.t()}]) ::
  :ok