ReadableMapOptions

data class ReadableMapOptions(var concurrency: Int = 1, var highWaterMark: Int = concurrency * 2 - 1, var signal: AbortSignal? = null)

Readable Map Options

Defines the structure of options which relate to the Readable.map method.

Constructors

Link copied to clipboard
constructor(concurrency: Int = 1, highWaterMark: Int = concurrency * 2 - 1, signal: AbortSignal? = null)

Properties

Link copied to clipboard

The maximum number of concurrent map operations to perform.

Link copied to clipboard

The maximum number of items to buffer before applying backpressure.

Link copied to clipboard

Abort signal to use for the operation.