@@ -830,10 +830,10 @@ type TaskSeq =
830
830
static member takeWhile : predicate : ( 'T -> bool ) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
831
831
832
832
/// <summary>
833
- /// Returns a sequence that, when iterated, yields elements of the underlying sequence while the
833
+ /// Returns a task sequence that, when iterated, yields elements of the underlying sequence while the
834
834
/// given asynchronous function <paramref name="predicate" /> returns <see cref="true" />, and then returns no further elements.
835
835
/// The first element where the predicate returns <see cref="false" /> is not included in the resulting sequence
836
- /// (see also <see cref="TaskSeq.takeWhileInclusive " />).
836
+ /// (see also <see cref="TaskSeq.takeWhileInclusiveAsync " />).
837
837
/// If <paramref name="predicate" /> is synchronous, consider using <see cref="TaskSeq.takeWhile" />.
838
838
/// </summary>
839
839
///
@@ -844,7 +844,7 @@ type TaskSeq =
844
844
static member takeWhileAsync : predicate : ( 'T -> #Task < bool >) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
845
845
846
846
/// <summary>
847
- /// Returns a sequence that, when iterated, yields elements of the underlying sequence until the given
847
+ /// Returns a task sequence that, when iterated, yields elements of the underlying sequence until the given
848
848
/// function <paramref name="predicate" /> returns <see cref="false" />, returns that element
849
849
/// and then returns no further elements (see also <see cref="TaskSeq.takeWhile" />). This function returns
850
850
/// at least one element of a non-empty sequence, or the empty task sequence if the input is empty.
@@ -858,9 +858,9 @@ type TaskSeq =
858
858
static member takeWhileInclusive : predicate : ( 'T -> bool ) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
859
859
860
860
/// <summary>
861
- /// Returns a sequence that, when iterated, yields elements of the underlying sequence until the given
861
+ /// Returns a task sequence that, when iterated, yields elements of the underlying sequence until the given
862
862
/// asynchronous function <paramref name="predicate" /> returns <see cref="false" />, returns that element
863
- /// and then returns no further elements (see also <see cref="TaskSeq.takeWhile " />). This function returns
863
+ /// and then returns no further elements (see also <see cref="TaskSeq.takeWhileAsync " />). This function returns
864
864
/// at least one element of a non-empty sequence, or the empty task sequence if the input is empty.
865
865
/// If <paramref name="predicate" /> is synchronous, consider using <see cref="TaskSeq.takeWhileInclusive" />.
866
866
/// </summary>
@@ -871,6 +871,62 @@ type TaskSeq =
871
871
/// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
872
872
static member takeWhileInclusiveAsync : predicate : ( 'T -> #Task < bool >) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
873
873
874
+ /// <summary>
875
+ /// Returns a task sequence that, when iterated, skips elements of the underlying sequence while the
876
+ /// given function <paramref name="predicate" /> returns <see cref="true" />, and then yields the remaining
877
+ /// elements. The first element where the predicate returns <see cref="false" /> is returned, which means that this
878
+ /// function will skip 0 or more elements (see also <see cref="TaskSeq.skipWhileInclusive" />).
879
+ /// If <paramref name="predicate" /> is asynchronous, consider using <see cref="TaskSeq.skipWhileAsync" />.
880
+ /// </summary>
881
+ ///
882
+ /// <param name="predicate">A function that evaluates to false when no more items should be skipped.</param>
883
+ /// <param name="source">The input task sequence.</param>
884
+ /// <returns>The resulting task sequence.</returns>
885
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
886
+ static member skipWhile : predicate : ( 'T -> bool ) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
887
+
888
+ /// <summary>
889
+ /// Returns a task sequence that, when iterated, skips elements of the underlying sequence while the
890
+ /// given asynchronous function <paramref name="predicate" /> returns <see cref="true" />, and then yields the
891
+ /// remaining elements. The first element where the predicate returns <see cref="false" /> is returned, which
892
+ /// means that this function will skip 0 or more elements (see also <see cref="TaskSeq.skipWhileInclusive" />).
893
+ /// If <paramref name="predicate" /> is synchronous, consider using <see cref="TaskSeq.skipWhile" />.
894
+ /// </summary>
895
+ ///
896
+ /// <param name="predicate">An asynchronous function that evaluates to false when no more items should be skipped.</param>
897
+ /// <param name="source">The input task sequence.</param>
898
+ /// <returns>The resulting task sequence.</returns>
899
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
900
+ static member skipWhileAsync : predicate : ( 'T -> #Task < bool >) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
901
+
902
+ /// <summary>
903
+ /// Returns a task sequence that, when iterated, skips elements of the underlying sequence until the given
904
+ /// function <paramref name="predicate" /> returns <see cref="false" />, also skips that element
905
+ /// and then yields the remaining elements (see also <see cref="TaskSeq.skipWhile" />). This function skips
906
+ /// at least one element of a non-empty sequence, or returns the empty task sequence if the input is empty.
907
+ /// If <paramref name="predicate" /> is asynchronous, consider using <see cref="TaskSeq.skipWhileInclusiveAsync" />.
908
+ /// </summary>`
909
+ ///
910
+ /// <param name="predicate">A function that evaluates to false when no more items should be skipped.</param>
911
+ /// <param name="source">The input task sequence.</param>
912
+ /// <returns>The resulting task sequence.</returns>
913
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
914
+ static member skipWhileInclusive : predicate : ( 'T -> bool ) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
915
+
916
+ /// <summary>
917
+ /// Returns a task sequence that, when iterated, skips elements of the underlying sequence until the given
918
+ /// function <paramref name="predicate" /> returns <see cref="false" />, also skips that element
919
+ /// and then yields the remaining elements (see also <see cref="TaskSeq.skipWhileAsync" />). This function skips
920
+ /// at least one element of a non-empty sequence, or returns the empty task sequence if the input is empty.
921
+ /// If <paramref name="predicate" /> is synchronous, consider using <see cref="TaskSeq.skipWhileInclusive" />.
922
+ /// </summary>
923
+ ///
924
+ /// <param name="predicate">An asynchronous function that evaluates to false when no more items should be skipped.</param>
925
+ /// <param name="source">The input task sequence.</param>
926
+ /// <returns>The resulting task sequence.</returns>
927
+ /// <exception cref="T:ArgumentNullException">Thrown when the input task sequence is null.</exception>
928
+ static member skipWhileInclusiveAsync : predicate : ( 'T -> #Task < bool >) -> source : TaskSeq < 'T > -> TaskSeq < 'T >
929
+
874
930
/// <summary>
875
931
/// Applies the given function <paramref name="chooser" /> to successive elements, returning the first result where
876
932
/// the function returns <see cref="Some(x)" />.
0 commit comments