Skip to main content
@moss-dev/moss / LoadSessionOptions

Interface: LoadSessionOptions

Options for SessionIndex.loadIndex() when pulling an existing cloud index into a session.

Properties

PropertyTypeDescription
autoRefresh?booleanWhen true, the SDK starts a background poller that pulls newer cloud versions of this index into the session at the configured interval. Paused automatically while the session has un-pushed local edits. Default false
pollingIntervalInSeconds?numberPoll interval in seconds. Only used when autoRefresh is true. Default 600 (10 minutes)