papi-dts
    Preparing search index...
    • Get a value from the shared store with proper typing.

      This runs synchronously and does not wait for initialization: it may return undefined if the shared store service has not yet been populated (e.g. during the bootstrap window, before initial sync completes). Use getAsync if you need to wait for a populated value. Note that even after the store is populated, the returned value may not reflect the most up-to-date value, since changes from other processes arrive asynchronously.

      Type Parameters

      • K extends `platform.customNetworkTimeoutMs.${string}`

      Parameters

      • key: K

        The key of the value to retrieve

      Returns undefined | SharedStoreValues[K]

      A cloned copy of the value associated with the key, or undefined if not found, not yet populated, or the value could not be cloned