Options
All
  • Public
  • Public/Protected
  • All
Menu

A queuing strategy that counts the number of chunks.

Hierarchy

  • CountQueuingStrategy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly highWaterMark

highWaterMark: number

Returns the high water mark provided to the constructor.

Readonly size

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.

Type declaration

    • (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.

      Parameters

      • chunk: any

      Returns 1

Generated using TypeDoc