Saltar al contenido principal

Function: useSessionExists()

useSessionExists(sessionId): Promise<boolean>

Defined in: src/core/services/assistant.service.ts:126

Checks whether a conversation session exists.

Parameters

sessionId

string

The conversation session id.

Returns

Promise<boolean>

true when the session exists.

Example

const exists = await useSessionExists(sessionId);