@@ -71,6 +71,82 @@ type TaskSeq =
71
71
/// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
72
72
static member lengthByAsync : predicate : ( 'T -> #Task < bool >) -> source : TaskSeq < 'T > -> Task < int >
73
73
74
+ /// <summary>
75
+ /// Returns the greatest of all elements of the sequence, compared via <see cref="Operators.max" />.
76
+ /// </summary>
77
+ ///
78
+ /// <param name="source">The input task sequence.</param>
79
+ /// <returns>The largest element of the sequence.</returns>
80
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
81
+ /// <exception cref="T:ArgumentException">Thrown when the input task sequence is empty.</exception>
82
+ static member max : source : TaskSeq < 'T > -> Task < 'T > when 'T : comparison
83
+
84
+ /// <summary>
85
+ /// Returns the smallest of all elements of the sequence, compared via <see cref="Operators.max" />.
86
+ /// </summary>
87
+ ///
88
+ /// <param name="source">The input task sequence.</param>
89
+ /// <returns>The smallest element of the sequence.</returns>
90
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
91
+ /// <exception cref="T:ArgumentException">Thrown when the input task sequence is empty.</exception>
92
+ static member min : source : TaskSeq < 'T > -> Task < 'T > when 'T : comparison
93
+
94
+ /// <summary>
95
+ /// Returns the greatest of all elements of the task sequence, compared via <see cref="Operators.max" />
96
+ /// on the result of applying the function <paramref name="projection" /> to each element.
97
+ ///
98
+ /// If <paramref name="projection" /> is asynchronous, use <see cref="TaskSeq.maxByAsync" />.
99
+ /// </summary>
100
+ ///
101
+ /// <param name="projection">A function to transform items from the input sequence into comparable keys.</param>
102
+ /// <param name="source">The input sequence.</param>
103
+ /// <returns>The largest element of the sequence.</returns>
104
+ /// <exception cref="T:ArgumentNullException">Thrown when the input sequence is null.</exception>
105
+ /// <exception cref="T:ArgumentException">Thrown when the input sequence is empty.</exception>
106
+ static member maxBy : projection : ( 'T -> 'U ) -> source : TaskSeq < 'T > -> Task < 'T > when 'U : comparison
107
+
108
+ /// <summary>
109
+ /// Returns the smallest of all elements of the task sequence, compared via <see cref="Operators.min" />
110
+ /// on the result of applying the function <paramref name="projection" /> to each element.
111
+ ///
112
+ /// If <paramref name="projection" /> is asynchronous, use <see cref="TaskSeq.minByAsync" />.
113
+ /// </summary>
114
+ ///
115
+ /// <param name="projection">A function to transform items from the input sequence into comparable keys.</param>
116
+ /// <param name="source">The input sequence.</param>
117
+ /// <returns>The smallest element of the sequence.</returns>
118
+ /// <exception cref="T:ArgumentNullException">Thrown when the input sequence is null.</exception>
119
+ /// <exception cref="T:ArgumentException">Thrown when the input sequence is empty.</exception>
120
+ static member minBy : projection : ( 'T -> 'U ) -> source : TaskSeq < 'T > -> Task < 'T > when 'U : comparison
121
+
122
+ /// <summary>
123
+ /// Returns the greatest of all elements of the task sequence, compared via <see cref="Operators.max" />
124
+ /// on the result of applying the function <paramref name="projection" /> to each element.
125
+ ///
126
+ /// If <paramref name="projection" /> is synchronous, use <see cref="TaskSeq.maxBy" />.
127
+ /// </summary>
128
+ ///
129
+ /// <param name="projection">A function to transform items from the input sequence into comparable keys.</param>
130
+ /// <param name="source">The input sequence.</param>
131
+ /// <returns>The largest element of the sequence.</returns>
132
+ /// <exception cref="T:ArgumentNullException">Thrown when the input sequence is null.</exception>
133
+ /// <exception cref="T:ArgumentException">Thrown when the input sequence is empty.</exception>
134
+ static member maxByAsync : projection : ( 'T -> #Task < 'U >) -> source : TaskSeq < 'T > -> Task < 'T > when 'U : comparison
135
+
136
+ /// <summary>
137
+ /// Returns the smallest of all elements of the task sequence, compared via <see cref="Operators.min" />
138
+ /// on the result of applying the function <paramref name="projection" /> to each element.
139
+ ///
140
+ /// If <paramref name="projection" /> is synchronous, use <see cref="TaskSeq.minBy" />.
141
+ /// </summary>
142
+ ///
143
+ /// <param name="projection">A function to transform items from the input sequence into comparable keys.</param>
144
+ /// <param name="source">The input sequence.</param>
145
+ /// <returns>The smallest element of the sequence.</returns>
146
+ /// <exception cref="T:ArgumentNullException">Thrown when the input sequence is null.</exception>
147
+ /// <exception cref="T:ArgumentException">Thrown when the input sequence is empty.</exception>
148
+ static member minByAsync : projection : ( 'T -> #Task < 'U >) -> source : TaskSeq < 'T > -> Task < 'T > when 'U : comparison
149
+
74
150
/// <summary>
75
151
/// Returns a task sequence that is given by the delayed specification of a task sequence.
76
152
/// </summary>
0 commit comments