Type alias BatchContext<T>

BatchContext<T>: [T] extends [LiveMap<infer U>]
    ? LiveMapBatchContext<U>
    : [T] extends [LiveCounter]
        ? LiveCounterBatchContext
        : [T] extends [Primitive]
            ? PrimitiveBatchContext<T>
            : AnyBatchContext

BatchContext wraps a specific object instance or entry in a specific collection object instance and provides synchronous operation methods that can be aggregated and applied as a single batch operation.

The type parameter specifies the underlying type of the instance, and is used to infer the correct set of methods available for that type.

Type Parameters

Generated using TypeDoc