Skip to content

Commit 2f0826d

Browse files
committed
Better wording for takeWhile-like functions
1 parent 641c284 commit 2f0826d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FSharp.Control.TaskSeq/TaskSeq.fsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ type TaskSeq =
903903
/// <summary>
904904
/// Returns a task sequence that, when iterated, yields elements of the underlying sequence while the
905905
/// given function <paramref name="predicate" /> returns <see cref="true" />, and then returns no further elements.
906-
/// The first element where the predicate returns <see cref="false" /> is not included in the resulting sequence
906+
/// Stops consuming the source and yielding items as soon as the predicate returns <c>false</c>.
907907
/// (see also <see cref="TaskSeq.takeWhileInclusive" />).
908908
/// If <paramref name="predicate" /> is asynchronous, use <see cref="TaskSeq.takeWhileAsync" />.
909909
/// </summary>
@@ -917,7 +917,7 @@ type TaskSeq =
917917
/// <summary>
918918
/// Returns a task sequence that, when iterated, yields elements of the underlying sequence while the
919919
/// given asynchronous function <paramref name="predicate" /> returns <see cref="true" />, and then returns no further elements.
920-
/// The first element where the predicate returns <see cref="false" /> is not included in the resulting sequence
920+
/// Stops consuming the source and yielding items as soon as the predicate returns <c>false</c>.
921921
/// (see also <see cref="TaskSeq.takeWhileInclusiveAsync" />).
922922
/// If <paramref name="predicate" /> is synchronous, use <see cref="TaskSeq.takeWhile" />.
923923
/// </summary>

0 commit comments

Comments
 (0)