From: Ardis Lu Date: Sun, 26 Jan 2025 07:20:21 +0000 (-0800) Subject: Use consistent casing for types X-Git-Tag: v0.1.0~85 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=ae92ceefe354891422ee2c2c3a273f74c7830ad7;p=csvio Use consistent casing for types Lowercase for all primitive types except Object and Array, TitleCase for all other types. --- diff --git a/src/core.js b/src/core.js index 1d70878..8809327 100644 --- a/src/core.js +++ b/src/core.js @@ -170,9 +170,9 @@ export class CSVReader extends ReadableStream { * @property {null|function(TransformationInput,Error,TransformationFunction):TransformationOutput} [onError=null] Set to a function to catch * errors thrown by the transformation function. The input data, the error that was thrown, and the transformation function itself will be passed * to the `onError` function. The default value is `null` (errors will not be caught). - * @property {Number} [maxBatchSize=1] The maximum number of rows that will be passed to the transformation function per function call (greedy). + * @property {number} [maxBatchSize=1] The maximum number of rows that will be passed to the transformation function per function call (greedy). * The default value is `1`. - * @property {Number} [maxConcurrent=1] The maximum concurrent executions of the transformation function (greedy). The transformation function + * @property {number} [maxConcurrent=1] The maximum concurrent executions of the transformation function (greedy). The transformation function * will be automatically turned into a promise if it isn't already async. Execution is blocked until all promises in a concurrent group settle * (i.e., if one transformation in a group is hanging, further rows will NOT be processed even if all other transformations in the group are * resolved). The default value is `1`.