UNPKG

761 BSource Map (JSON)View Raw
1{"version":3,"sources":["asynciterable/reduceoptions.ts"],"names":[],"mappings":"","file":"reduceoptions.js","sourcesContent":["import { ScanOptions } from './operators/scanoptions';\n\n/**\n * The reduce options which includes an accumulator function, optional seed, and optional abort signal for cancellation.\n *\n * @export\n * @interface ReduceOptions\n * @extends {ScanOptions<T, R>}\n * @template T The type of the elements in the source sequence.\n * @template R The type of the result of the aggregation.\n */\nexport interface ReduceOptions<T, R> extends ScanOptions<T, R> {\n /**\n * An optional abort signal to cancel the operation at any time.\n *\n * @type {AbortSignal}\n * @memberof ReduceOptions\n */\n signal?: AbortSignal;\n}\n"]}
\No newline at end of file