Interface BatchedObjectsOptions<T>

interface BatchedObjectsOptions<T> {
    size?: number;
    serialize(object, list): void;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

Methods

Properties

size?: number

The minimum number of bytes that should be in a batch (default: 1MB)

Methods

  • This function should serialize the object and append the result to the passed list

    Parameters

    Returns void