LogoRobo.js
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 ParameterDefault type
Kstring
Vunknown

On this page