Skip to content

Documentation / @agentick/core / UseDataOptions

Interface: UseDataOptions

Defined in: core/src/hooks/data.ts:13

Options for useData.

Extends

Properties

persist?

optional persist: boolean

Defined in: core/src/hooks/runtime-context.ts:50

Whether to include this entry in session snapshots.

When true (default), the value is saved in session snapshots and restored when the session is loaded from store.

Set to false for large datasets, frequently-changing data, or values already persisted elsewhere.

Default

ts
true

Inherited from

HookPersistenceOptions.persist

Released under the ISC License.