Skip to content

Documentation / @agentick/react / UseSessionOptions

Interface: UseSessionOptions ​

Defined in: react/src/types.ts:93

Options for useSession hook.

Properties ​

autoSubscribe? ​

optional autoSubscribe: boolean

Defined in: react/src/types.ts:105

Automatically subscribe to the session on mount. Requires sessionId to be provided.

Default ​

ts
false

sessionId? ​

optional sessionId: string

Defined in: react/src/types.ts:98

Session ID to work with. If not provided, send() will use ephemeral sessions.

Released under the ISC License.