FSharp.Control.TaskSeq
FSharp.Control.TaskSeq copied to clipboard
A computation expression and module for seamless working with IAsyncEnumerable<'T> as if it is just another sequence
Just some house-keeping and getting slightly more useful errors in some cases.
CE PoC, trying out custom operations in a CE that has `bind` and `yield`, which seems impossible yet
So, we can add `CustomOperation` operations to a CE that has `bind` (but the requirements are rather odd), or we can have them with `yield` (similar to how `query` works...
Not ready yet, but I've experimented with these `&&` and `||` overloads in our `while` blocks, and it makes the `while!` a LOT easier to use, and simplifies the code...
Just checking this old branch
When you call `.WithCancellation(cancellationToken)` on `IAsyncEnumerable` which is not currently supported. So that this code does not work ``` F# static member ToFlatListAsync, [] cancellationToken: CancellationToken) = task { let...
Hi. Thanks for working on this. I have been exploring this repository since I wanted to do something similar, and I noticed that even when manually passing in a cancellation...
Can we implement this function? To prevent having a dependency on `AsyncSeq`, we probably need to create this function using SRTP, but it should be possible for users to convert...
Relevant discussion in this revert: #212. Note: this update from v3 -> v4 is **COMPLETELY INCOMPATIBLE** (see: https://github.com/actions/upload-artifact/issues/472 and https://github.com/dorny/test-reporter/issues/343) and there's no clear guideline to be found on the...
In rare scenarios, for instance, where the resumable code is invoked in a top-level function, the compiler may not be able to compile the resumable code statically. For these cases,...
Currently, it is not very clear how users can pass a `CancellationToken` through. While the CE has support for cancellation tokens, and the token is passed on to `GetAsyncEnumerator(ct)`, unless...