Raxol.AgentClientProtocol.Ext.Schema.LaggedNotification (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

_raxol/session.lagged: terminal drop-on-lag. lastOffset is the subscriber's own last forwarded offset; heal by reattaching from lastOffset + 1.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Ext.Schema.LaggedNotification{
  last_offset: non_neg_integer(),
  session_id: String.t()
}

Functions

from_json(map)

@spec from_json(map()) :: {:ok, t()} | {:error, term()}

new(session_id, last_offset)

@spec new(String.t(), non_neg_integer()) :: t()

to_json(r)

@spec to_json(t()) :: map()