Interface ArrayOptions

interface ArrayOptions {
    concurrency?: number;
    signal?: AbortSignal;
}

Properties

concurrency?: number

The maximum concurrent invocations of fn to call on the stream at once.

Default

1
signal?: AbortSignal

Allows destroying the stream if the signal is aborted.