Interface IterableMapperOptions

Options for IterableMapper

Hierarchy

  • IterableMapperOptions

Properties

concurrency?: number

Number of concurrently pending promises returned by mapper.

Must be an integer from 1 and up or Infinity, must be <= maxUnread.

Default

4
maxUnread?: number

Number of pending unread iterable items.

Must be an integer from 1 and up or Infinity, must be >= concurrency.

Default

8
stopOnMapperError?: boolean

When set to false, instead of stopping when a promise rejects, it will wait for all the promises to settle and then reject with an aggregated error containing all the errors from the rejected promises.

Default

true

Generated using TypeDoc