Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskSeq? #150

Open
BrianVallelunga opened this issue Oct 14, 2021 · 6 comments
Open

TaskSeq? #150

BrianVallelunga opened this issue Oct 14, 2021 · 6 comments

Comments

@BrianVallelunga
Copy link

Is there a plan to add an equivalent taskSeq CE to this library? Thanks

@dsyme
Copy link
Contributor

dsyme commented Oct 14, 2021

We will be making a new version of this library that implements the official task-producing IAsyncEnumerable.

Indeed I'll be working on that now

@BrianVallelunga
Copy link
Author

Thanks for the news. That's great to hear.

@bigjonroberts
Copy link

Was just looking for this today. Any updates?
I'm able to convert to AsyncSeq for this use-case, but would love to see TaskSeq available for my other use-cases.

@abelbraaksma
Copy link
Member

For reference, there's code in F# right now that has the taskSeq, used for perf testing. It was written by @dsyme I believe, but currently misses the dynamic parts: https://github.com/dotnet/fsharp/blob/d5312aae8aad650f0043f055bb14c3aa8117e12e/tests/benchmarks/CompiledCodeBenchmarks/TaskPerf/TaskPerf/taskSeq.fs.

My guess it, this would be a good starting point for implementing this.

@abelbraaksma
Copy link
Member

abelbraaksma commented Nov 4, 2022

@BrianVallelunga and others monitoring this, it's taken a bit of time, but I picked up the gauntlet and recently finished a decent MVP for this, after ironing out a few bugs in the resumable state machine code (there are PRs that document this in case you're curious).

Just today I moved it to FsProjects with help by @dsyme, you can find it here: https://github.com/fsprojects/FSharp.Control.TaskSeq (edited, was wrong link).

It is available as NuGet pack and under active development by the community.

@BrianVallelunga
Copy link
Author

Great to hear. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants