@@ -169,27 +169,37 @@ export interface IAsyncParallel<TSource> extends AsyncIterable<TSource> {
169
169
lastOrDefault ( predicate ?: ( x : TSource ) => boolean ) : Promise < TSource | null >
170
170
lastOrDefaultAsync ( predicate : ( x : TSource ) => Promise < boolean > ) : Promise < TSource | null >
171
171
/**
172
+ * Returns the maximum value in a sequence of values.
172
173
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
173
174
* @param this Async Iteration of Numbers
174
175
*/
175
176
max ( this : IAsyncParallel < number > ) : Promise < number >
176
177
/**
178
+ * Invokes a transform function on each element of a sequence and returns the maximum value.
179
+ * @param selector A transform function to apply to each element.
177
180
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
178
181
*/
179
182
max ( selector : ( x : TSource ) => number ) : Promise < number >
180
183
/**
184
+ * Invokes an async transform function on each element of a sequence and returns the maximum value.
185
+ * @param selector A transform function to apply to each element.
181
186
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
182
187
*/
183
188
maxAsync ( selector : ( x : TSource ) => Promise < number > ) : Promise < number >
184
189
/**
190
+ * Returns the minimum value in a sequence of values.
185
191
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
186
192
*/
187
193
min ( this : IAsyncParallel < number > ) : Promise < number >
188
194
/**
195
+ * Invokes a transform function on each element of a sequence and returns the minimum value.
196
+ * @param selector A transform function to apply to each element.
189
197
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
190
198
*/
191
199
min ( selector : ( x : TSource ) => number ) : Promise < number >
192
200
/**
201
+ * Invokes a transform function on each element of a sequence and returns the minimum value.
202
+ * @param selector A transform function to apply to each element.
193
203
* @throws {import('../types/InvalidOperationException') } Sequence contains no elements
194
204
*/
195
205
minAsync ( selector : ( x : TSource ) => Promise < number > ) : Promise < number >
0 commit comments