Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CountQueuingStrategy

A queuing strategy that counts the number of chunks.

Hierarchy

  • CountQueuingStrategy

Implements

Index

Constructors

Accessors

Constructors

constructor

Accessors

highWaterMark

  • get highWaterMark(): number

size

  • get size(): (chunk: any) => 1
  • Measures the size of chunk by always returning 1. This ensures that the total queue size is a count of the number of chunks in the queue.

    Returns (chunk: any) => 1

      • (chunk: any): 1
      • Parameters

        • chunk: any

        Returns 1

Generated using TypeDoc