Skip to content

AsyncMapOptions

Options for asyncMap and asyncFlatMap.

Import:

import type { AsyncMapOptions } from '@mnaoumov/typescript-lib/async';

Signature:

export interface AsyncMapOptions

Properties

PropertyTypeDescription
abortSignal?AbortSignalStops new callbacks from starting and rejects with the signal's reason once aborted.
concurrency?numberThe maximum number of callbacks running at once: a positive integer, or Infinity for no limit.

Links to this page: