papi-dts
    Preparing search index...
    • Set a value in the shared store and notify other processes. Note that if a value with the given key already exists, it can only be set again by the process that created it. This is to prevent race conditions between processes setting values that don't incorporate each others' updates.

      Type Parameters

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

      Parameters

      • key: K

        The key to set

      • Optionalvalue: SharedStoreValues[K]

        The value to set. Note that the stored value is a cloned copy of the provided value, so changes to the original value will not affect the stored value. Also, any non-serializable data will removed from the value during the cloning process.

      Returns void