Long-polling SSH attachment bridge for session UI events.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type start_result() :: {:ok, %{id: String.t(), state: Vibe.UI.State.t(), cursor: non_neg_integer()}}
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec next_events(String.t(), timeout()) :: {:ok, [Vibe.UI.Event.t()]} | {:error, term()}
@spec start(String.t()) :: start_result() | {:error, term()}
@spec start_link(keyword()) :: GenServer.on_start()