Skip to content

resolveConversationRefSafe

resolveConversationRefSafe(config, ref): number | null

Defined in: packages/core/src/history/recordSession.ts:71

GS2-106 — the conversation a parsed id names, as its integer row id; null when history is off, the store cannot be opened, or the id names no conversation. Exact match only — see HistoryStore.resolveConversationRef. Fail-soft, never throws.

HistoryConfigView

ConversationRef

number | null