POLAR reference
    Preparing search index...

    Function updateState

    • Updates the parameter parameter in the store with the payload.

      Type Parameters

      • T extends StoreId

      Parameters

      • map: any

        Map to update the value at.

      • storeName: T

        Either 'core' for the core store or the plugin ID for a plugin's store.

      • parameterName: StoreParameter<T>

        Name of the parameter to update.

      • payload: unknown

        The payload to update the given parameter with.

      Returns void