Interface: LatestChannelApi

Latest-message health is independent from shared-state connectivity.

Methods

get()

get(): LatestChannelStatus

Returns the immutable installed status after readiness.

Returns

LatestChannelStatus

Throws

PlotNotReadyError before complete readiness.

Throws

PlotOperationError for a retained terminal runtime failure.

See

Error handling


subscribe()

subscribe(listener): Unsubscribe

Receives initial status once readiness is installed and later availability or limit changes. Registration does not start readiness; when already ready the initial callback is synchronous. Listener errors are isolated.

Parameters

listener

(status) => void

Returns

Unsubscribe

An idempotent unsubscribe function.

Throws

TypeError when listener is not a function.

See

Error handling