• Batchable mixin. Adds throttled batch execution to base class or serves as batchable base class for derived class.

    Type Parameters

    Parameters

    Returns {
        prototype: __type<any, any>;
        new (...args: any[]): __type<T, Logger>;
    } & T

    The batchableOptions parameter is merged with the following default options and exposed at this.batchableOptions:

    • batchSize: 25
    • delayIncrement: 100
    • maxRetries: 5
    • throttle: 10