Interface QueuingStrategy<T>

interface QueuingStrategy<T> {
    highWaterMark?: number | bigint;
    size?: ((chunk) => number | bigint);
}

Type Parameters

  • T = any

Implemented by

Properties

highWaterMark?: number | bigint
size?: ((chunk) => number | bigint)

Type declaration

    • (chunk): number | bigint
    • Parameters

      • chunk: T

      Returns number | bigint