@hmiproject/helio-sdk
    Preparing search index...

    Type Alias UseServerStateOptions

    type UseServerStateOptions = {
        refetchInterval?: number;
        scope: StorageScopeKind;
    }
    Index

    Properties

    refetchInterval?: number

    Optional refresh interval for the value.

    If set, will automatically perform a refresh every refreshInterval milliseconds to keep state in sync with possible other clients looking at the same data. [in ms]

    { refetchInterval: 2000 }
    

    Scope in which the value should exist, either User, Global or Project.