Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev Guide
Dev GuideUser GuidesLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

PatchUpdater

OCP App SDK / PatchUpdater

PatchUpdater<T>

<T> Function

Type parameters

Type declaration

Used when patching data.
The previous value is provided as the first parameter.
The return value will be used to update the record.
WARNING: A patch updater may be called multiple times until the update is successful.

Signature

(previous: T): T;

Parameters

NameType
previousT

Returns

T

Defined in: src/store/BaseKVStore.ts:22