Rxova
Skip to content

Type Alias: JourneyPersistOption

@rxova/journey-react


@rxova/journey-react / JourneyPersistOption

type JourneyPersistOption = object;

Defined in: core/src/core/types.ts:561

Sugar over the persistence plugin, expanded at creation.

readonly key: string;

Defined in: core/src/core/types.ts:562


readonly optional storage?: JourneyStorage;

Defined in: core/src/core/types.ts:564

Defaults to globalThis.localStorage; creation throws when neither is available.