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.