@@ -27,8 +27,8 @@ export type RawOptionalReducerWithoutFinish<Value = unknown, This = unknown> = {
27
27
28
28
/**
29
29
* A reducer that reduces by combining pairs of values using
30
- * {@link RawOptionalReducerWithFinish .add} and then tranforming the final value
31
- * using {@link RawOptionalReducerWithFinish.finish}.
30
+ * {@link RawOptionalReducerWithoutFinish .add} and then transforming the final
31
+ * value using {@link RawOptionalReducerWithFinish.finish}.
32
32
*
33
33
* @category Reducers
34
34
* @since v2.0.0
@@ -43,8 +43,8 @@ export type RawOptionalReducerWithFinish<
43
43
44
44
/**
45
45
* A reducer that reduces by combining pairs of values using
46
- * {@link OptionalReducer .add} and then tranforming the final value using
47
- * {@link OptionalReducer .finish}.
46
+ * {@link RawOptionalReducerWithoutFinish .add} and then transforming the final
47
+ * value using {@link RawOptionalReducerWithFinish .finish}.
48
48
*
49
49
* @category Reducers
50
50
* @since v2.0.0
@@ -73,9 +73,9 @@ export type RawReducerWithoutFinish<
73
73
74
74
/**
75
75
* A reducer that reduces by creating an initial accumulator using
76
- * {@link RawReducerWithFinish .create}, then adding values to the accumulator
77
- * values using {@link RawReducerWithFinish .add}, and then tranforming the final
78
- * accumulator using {@link RawReducerWithFinish.finish}.
76
+ * {@link RawReducerWithoutFinish .create}, then adding values to the accumulator
77
+ * values using {@link RawReducerWithoutFinish .add}, and then transforming the
78
+ * final accumulator using {@link RawReducerWithFinish.finish}.
79
79
*
80
80
* @category Reducers
81
81
* @since v2.0.0
@@ -91,9 +91,9 @@ export type RawReducerWithFinish<
91
91
92
92
/**
93
93
* A reducer that reduces by creating an initial accumulator using
94
- * {@link Reducer .create}, then adding values to the accumulator values using
95
- * {@link Reducer .add}, and then tranforming the final accumulator using
96
- * {@link Reducer .finish}.
94
+ * {@link RawReducerWithoutFinish .create}, then adding values to the accumulator
95
+ * values using {@link RawReducerWithoutFinish .add}, and then transforming the
96
+ * final accumulator using {@link RawReducerWithFinish .finish}.
97
97
*
98
98
* @category Reducers
99
99
* @since v2.0.0
@@ -106,8 +106,8 @@ export type Reducer<
106
106
107
107
/**
108
108
* A keyed reducer that reduces by creating an initial accumulator using
109
- * {@link RawKeyedReducer .create} and then adding key-value pairs to the
110
- * accumulator values using {@link RawKeyedReducer .add}. The accumulator can be
109
+ * {@link RawReducerWithoutFinish .create} and then adding key-value pairs to the
110
+ * accumulator values using {@link RawReducerWithoutFinish .add}. The accumulator can be
111
111
* queried for values by key using {@link RawKeyedReducer.get}.
112
112
*
113
113
* @category Reducers
@@ -124,9 +124,9 @@ export type RawKeyedReducer<
124
124
125
125
/**
126
126
* A keyed reducer that reduces by creating an initial accumulator using
127
- * {@link KeyedReducer .create} and then adding key-value pairs to the
128
- * accumulator values using {@link KeyedReducer .add}. The accumulator can be
129
- * queried for values by key using {@link KeyedReducer .get}.
127
+ * {@link RawReducerWithoutFinish .create} and then adding key-value pairs to the
128
+ * accumulator values using {@link RawReducerWithoutFinish .add}. The accumulator
129
+ * can be queried for values by key using {@link RawKeyedReducer .get}.
130
130
*
131
131
* @category Reducers
132
132
* @since v2.0.0
@@ -165,8 +165,8 @@ export type RawAsyncOptionalReducerWithoutFinish<
165
165
166
166
/**
167
167
* An async reducer that reduces by combining pairs of values using
168
- * {@link RawAsyncOptionalReducerWithFinish .add} and then tranforming the final
169
- * value using {@link RawAsyncOptionalReducerWithFinish.finish}.
168
+ * {@link RawAsyncOptionalReducerWithoutFinish .add} and then transforming the
169
+ * final value using {@link RawAsyncOptionalReducerWithFinish.finish}.
170
170
*
171
171
* @category Reducers
172
172
* @since v2.0.0
@@ -181,8 +181,8 @@ export type RawAsyncOptionalReducerWithFinish<
181
181
182
182
/**
183
183
* An async reducer that reduces by combining pairs of values using
184
- * {@link AsyncOptionalReducer .add} and then tranforming the final value using
185
- * {@link AsyncOptionalReducer .finish}.
184
+ * {@link RawAsyncOptionalReducerWithoutFinish .add} and then transforming the
185
+ * final value using {@link RawAsyncOptionalReducerWithFinish .finish}.
186
186
*
187
187
* @category Reducers
188
188
* @since v2.0.0
@@ -214,12 +214,12 @@ export type RawAsyncReducerWithoutFinish<
214
214
215
215
/**
216
216
* An async reducer that reduces by creating an initial accumulator using
217
- * {@link RawAsyncReducerWithFinish .create}, then adding values to the
218
- * accumulator values using {@link RawAsyncReducerWithFinish .add}, and then
219
- * tranforming the final accumulator using
217
+ * {@link RawAsyncReducerWithoutFinish .create}, then adding values to the
218
+ * accumulator values using {@link RawAsyncReducerWithoutFinish .add}, and then
219
+ * transforming the final accumulator using
220
220
* {@link RawAsyncReducerWithFinish.finish}. The async
221
221
* reducer is optionally able to combine pairs of accumulators using
222
- * {@link RawAsyncReducerWithFinish .combine}.
222
+ * {@link RawAsyncReducerWithoutFinish .combine}.
223
223
*
224
224
* @category Reducers
225
225
* @since v2.0.0
@@ -235,10 +235,12 @@ export type RawAsyncReducerWithFinish<
235
235
236
236
/**
237
237
* An async reducer that reduces by creating an initial accumulator using
238
- * {@link AsyncReducer.create}, then adding values to the accumulator values
239
- * using {@link AsyncReducer.add}, and then tranforming the final accumulator
240
- * using {@link AsyncReducer.finish}. The async reducer is optionally able to
241
- * combine pairs of accumulators using {@link AsyncReducer.combine}.
238
+ * {@link RawAsyncReducerWithoutFinish.create}, then adding values to the
239
+ * accumulator values using {@link RawAsyncReducerWithoutFinish.add}, and then
240
+ * transforming the final accumulator using
241
+ * {@link RawAsyncReducerWithFinish.finish}. The async reducer is optionally
242
+ * able to combine pairs of accumulators using
243
+ * {@link RawAsyncReducerWithoutFinish.combine}.
242
244
*
243
245
* @category Reducers
244
246
* @since v2.0.0
@@ -251,11 +253,11 @@ export type AsyncReducer<
251
253
252
254
/**
253
255
* An async keyed reducer that reduces by creating an initial accumulator using
254
- * {@link RawAsyncKeyedReducer .create} and then adding key-value pairs to the
255
- * accumulator values using {@link RawAsyncKeyedReducer .add}. The async keyed
256
- * reducer is optionally able to combine pairs of accumulators using
257
- * {@link RawAsyncKeyedReducer .combine}. The accumulator can be queried for
258
- * values by key using {@link RawAsyncKeyedReducer.get}.
256
+ * {@link RawAsyncReducerWithoutFinish .create} and then adding key-value pairs
257
+ * to the accumulator values using {@link RawAsyncReducerWithoutFinish .add}. The
258
+ * async keyed reducer is optionally able to combine pairs of accumulators using
259
+ * {@link RawAsyncReducerWithoutFinish .combine}. The accumulator can be queried
260
+ * for values by key using {@link RawAsyncKeyedReducer.get}.
259
261
*
260
262
* @category Reducers
261
263
* @since v2.0.0
@@ -275,11 +277,11 @@ export type RawAsyncKeyedReducer<
275
277
276
278
/**
277
279
* An async keyed reducer that reduces by creating an initial accumulator using
278
- * {@link AsyncKeyedReducer .create} and then adding key-value pairs to the
279
- * accumulator values using {@link AsyncKeyedReducer .add}. The async keyed
280
- * reducer is optionally able to combine pairs of accumulators using
281
- * {@link AsyncKeyedReducer .combine}. The accumulator can be queried for values
282
- * by key using {@link AsyncKeyedReducer .get}.
280
+ * {@link RawAsyncReducerWithoutFinish .create} and then adding key-value pairs
281
+ * to the accumulator values using {@link RawAsyncReducerWithoutFinish .add}. The
282
+ * async keyed reducer is optionally able to combine pairs of accumulators using
283
+ * {@link RawAsyncReducerWithoutFinish .combine}. The accumulator can be queried
284
+ * for values by key using {@link RawAsyncKeyedReducer .get}.
283
285
*
284
286
* @category Reducers
285
287
* @since v2.0.0
@@ -467,15 +469,17 @@ export const normalizeReducer: {
467
469
/**
468
470
* Returns the result of reducing `iterable` using `reducer`.
469
471
*
470
- * An initial accumulator is created using {@link Reducer.create}. Then each
471
- * value in `iterable` is added to the accumulator and the current accumulator
472
- * is updated using {@link Reducer.add}. Finally, the resulting accumulator is
473
- * transformed using {@link Reducer.finish} if specified.
472
+ * An initial accumulator is created using
473
+ * {@link RawReducerWithoutFinish.create}. Then each value in `iterable` is
474
+ * added to the accumulator and the current accumulator is updated using
475
+ * {@link RawReducerWithoutFinish.add}. Finally, the resulting accumulator is
476
+ * transformed using {@link RawReducerWithFinish.finish} if specified.
474
477
*
475
- * If `reducer` is an optional reducer (no {@link Reducer.create} method), then
476
- * an empty iterable is returned if `iterable` is empty. Otherwise, an iterable
477
- * containing the result of reducing using the first value of the iterable as
478
- * the initial accumulator is returned.
478
+ * If `reducer` is an optional reducer (no
479
+ * {@link RawReducerWithoutFinish.create} method), then an empty iterable is
480
+ * returned if `iterable` is empty. Otherwise, an iterable containing the result
481
+ * of reducing using the first value of the iterable as the initial accumulator
482
+ * is returned.
479
483
*
480
484
* Like `Array.prototype.reduce`, but for iterables.
481
485
*
@@ -548,19 +552,21 @@ export const reduce: {
548
552
* Returns the result of reducing the `asyncIterable` using `asyncReducer`.
549
553
*
550
554
* Informally, an initial accumulator is created using
551
- * {@link AsyncReducer.create}. Then each value in `asyncIterable` is added to
552
- * the accumulator and the current accumulator is updated using
553
- * {@link AsyncReducer.add}. Finally, the resulting accumulator is transformed
554
- * using {@link AsyncReducer.finish} if specified. Multiple accumulators may be
555
- * created, added to, and then combined if supported via
556
- * {@link AsyncReducer.combine} and the next value of `asyncIterable` is ready
557
- * before promises from {@link AsyncReducer.add} resolve.
555
+ * {@link RawAsyncReducerWithoutFinish.create}. Then each value in
556
+ * `asyncIterable` is added to the accumulator and the current accumulator is
557
+ * updated using {@link RawAsyncReducerWithoutFinish.add}. Finally, the
558
+ * resulting accumulator is transformed using
559
+ * {@link RawAsyncReducerWithFinish.finish} if specified. Multiple accumulators
560
+ * may be created, added to, and then combined if supported via
561
+ * {@link RawAsyncReducerWithoutFinish.combine} and the next value of
562
+ * `asyncIterable` is ready before promises from
563
+ * {@link RawAsyncReducerWithoutFinish.add} resolve.
558
564
*
559
565
* If `asyncReducer` is an async optional reducer (no
560
- * {@link AsyncReducer .create} method), then an empty async iterable is returned
561
- * if `asyncIterable` is empty. Otherwise, an async iterable containing the
562
- * result of reducing using the first value of the async iterable as the initial
563
- * accumulator is returned.
566
+ * {@link RawAsyncReducerWithoutFinish .create} method), then an empty async
567
+ * iterable is returned if `asyncIterable` is empty. Otherwise, an async
568
+ * iterable containing the result of reducing using the first value of the async
569
+ * iterable as the initial accumulator is returned.
564
570
*
565
571
* Like `Array.prototype.reduce`, but for async iterables.
566
572
*
@@ -649,19 +655,21 @@ export const reduceAsync: {
649
655
* Returns the result of reducing the `concurIterable` using `asyncReducer`.
650
656
*
651
657
* Informally, an initial accumulator is created using
652
- * {@link AsyncReducer.create}. Then each value in `concurIterable` is added to
653
- * the accumulator and the current accumulator is updated using
654
- * {@link AsyncReducer.add}. Finally, the resulting accumulator is transformed
655
- * using {@link AsyncReducer.finish} if specified. Multiple accumulators may be
656
- * created, added to, and then combined if supported via
657
- * {@link AsyncReducer.combine} and the next value of `concurIterable` is ready
658
- * before promises from {@link AsyncReducer.add} resolve.
658
+ * {@link RawAsyncReducerWithoutFinish.create}. Then each value in
659
+ * `concurIterable` is added to the accumulator and the current accumulator is
660
+ * updated using {@link RawAsyncReducerWithoutFinish.add}. Finally, the
661
+ * resulting accumulator is transformed using
662
+ * {@link RawAsyncReducerWithFinish.finish} if specified. Multiple accumulators
663
+ * may be created, added to, and then combined if supported via
664
+ * {@link RawAsyncReducerWithoutFinish.combine} and the next value of
665
+ * `concurIterable` is ready before promises from
666
+ * {@link RawAsyncReducerWithoutFinish.add} resolve.
659
667
*
660
668
* If `asyncReducer` is an async optional reducer (no
661
- * {@link AsyncReducer .create} method), then an empty concur iterable is
662
- * returned if `concurIterable` is empty. Otherwise, an concur iterable
663
- * containing the result of reducing using the first value of the concur
664
- * iterable as the initial accumulator is returned.
669
+ * {@link RawAsyncReducerWithoutFinish .create} method), then an empty concur
670
+ * iterable is returned if `concurIterable` is empty. Otherwise, an concur
671
+ * iterable containing the result of reducing using the first value of the
672
+ * concur iterable as the initial accumulator is returned.
665
673
*
666
674
* Like `Array.prototype.reduce`, but for concur iterables.
667
675
*
0 commit comments