Raxol.UI.Components.Harness.ResidualIndicator (Raxol v2.6.1)

View Source

A read-only indicator for the harness's residual projection.

Renders the %{description} payload of a residual meta event (source :probe_c2_residual) -- the named unknown the probe swarm hasn't resolved yet. Renders a subtle warning line when a residual is outstanding, and renders nothing when it's nil (resolved / never raised).

Summary

Types

t()

@type t() :: %{
  id: String.t() | atom(),
  residual: String.t() | nil,
  style: map(),
  theme: map()
}

Functions

broadcast(msg)

command(cmd)

handle_event(event, state, context)

Callback implementation for Raxol.UI.Components.Base.Component.handle_event/3.

mount(state)

Callback implementation for Raxol.UI.Components.Base.Component.mount/1.

schedule(msg, delay)

unmount(state)

Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.

update(props, state)

Callback implementation for Raxol.UI.Components.Base.Component.update/2.