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