Documentation / @agentick/react / UseSessionOptions
Interface: UseSessionOptions
Defined in: react/src/types.ts:93
Options for useSession hook.
Properties
autoSubscribe?
optionalautoSubscribe:boolean
Defined in: react/src/types.ts:105
Automatically subscribe to the session on mount. Requires sessionId to be provided.
Default
ts
falsesessionId?
optionalsessionId:string
Defined in: react/src/types.ts:98
Session ID to work with. If not provided, send() will use ephemeral sessions.