Framework
BatchOperation<K, V>
Type Alias: BatchOperation<K, V>
type BatchOperation<K, V> =
| {
key: K;
type: "set";
value: V;
}
| {
key: K;
type: "delete";
}
| {
expectedVersion: number;
key: K;
type: "check";
};Operation types for atomic batch operations.
Type Parameters
| Type Parameter | Default type |
|---|---|
K | string |
V | unknown |
