UNPKG

797 BSource Map (JSON)View Raw
1{"version":3,"sources":["asynciterable/mathoptions.ts"],"names":[],"mappings":"","file":"mathoptions.js","sourcesContent":["/**\n * The options for calculating an average.\n *\n * @export\n * @interface MathOptions\n * @template T The type of elements in the source sequence.\n */\nexport interface MathOptions<T> {\n /**\n * An optional selector used to get the value to average.\n *\n * @memberof MathOptions\n */\n selector?: (x: T, signal?: AbortSignal) => number | Promise<number>;\n /**\n * An optional thisArg for the selector.\n *\n * @type {*}\n * @memberof MathOptions\n */\n thisArg?: any;\n /**\n * An optional abort signal to cancel the operation at any time.\n *\n * @type {AbortSignal}\n * @memberof MathOptions\n */\n signal?: AbortSignal;\n}\n"]}
\No newline at end of file