You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests: add coverage for indexed, iteriAsync, tryLast, replicateUntilNoneAsync, reduceAsync
Add 14 new unit tests for functions that previously had no test coverage:
- AsyncSeq.indexed: 4 tests (basic, empty, singleton, large sequence)
- AsyncSeq.iteriAsync: 3 tests (correct indices+values, empty, zero-based index)
- AsyncSeq.tryLast: 3 tests (non-empty, empty, singleton)
- AsyncSeq.replicateUntilNoneAsync: 3 tests (generates until None, immediate None, single element)
- AsyncSeq.reduceAsync: 1 test (raises InvalidOperationException on empty sequence)
All 335 tests pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
### 4.10.1
2
+
3
+
* Tests: added 14 new unit tests covering previously untested functions — `AsyncSeq.indexed`, `AsyncSeq.iteriAsync`, `AsyncSeq.tryLast`, `AsyncSeq.replicateUntilNoneAsync`, and `AsyncSeq.reduceAsync` (empty-sequence edge case).
4
+
1
5
### 4.10.0
2
6
3
7
* Added `AsyncSeq.withCancellation` — returns a new `AsyncSeq` that passes the given `CancellationToken` to `GetAsyncEnumerator`, overriding whatever token would otherwise be supplied. Mirrors `TaskSeq.withCancellation` and is useful when consuming sequences from libraries (e.g. Entity Framework) that accept a cancellation token through `GetAsyncEnumerator`. Part of ongoing design-parity work with FSharp.Control.TaskSeq (see #277).
0 commit comments