PatchUpdater
OCP App SDK / PatchUpdater
Type Alias: PatchUpdater()<T>
PatchUpdater<
T> = (previous) =>T
Defined in: src/store/BaseKVStore.ts:22
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.
Type Parameters
T
T = ValueHash
Parameters
previous
T
Returns
T
Updated about 2 months ago