Skip to content

DiagnosticsOptions

Defined in: console-sdk/src/react/hooks/useDiagnostics.ts:53

Options accepted by useDiagnostics (SDK_PLAN.md §3.6.8).

optional capacity?: number

Defined in: console-sdk/src/react/hooks/useDiagnostics.ts:60

Cap the returned RawPacketInfo view to the most-recent capacity packets. This narrows the view only — it can never enlarge the underlying ring (whose bound is fixed by the SDK at provider construction). Omit for the full ring. Values < 1 yield an empty view.