apollo-state-sync - API Reference (Users)
    Preparing search index...

    Type Alias GlobalConfig

    GlobalConfig: {
        persistedCacheExpiryMilliseconds: number;
        synchronizationDebounceTimeoutMs: number;
        synhnorizationDebounceTimeoutMs: number;
    } & CacheSyncerConfigType

    Global configuration options for the Apollo State Sync library.

    Type Declaration

    • persistedCacheExpiryMilliseconds: number

      The time in milliseconds after which the persisted cache expires. Set to 0 to completely disable persistence.

    • synchronizationDebounceTimeoutMs: number

      The number of milliseconds to debounce synchronization broadcasts.

    • synhnorizationDebounceTimeoutMs: number

      Use synchronizationDebounceTimeoutMs instead.