fsprojects / FSharp.Control.TaskSeq

A computation expression and module for seamless working with IAsyncEnumerable<'T> as if it is just another sequence
MIT License
91 stars 7 forks source link

Dynamic implementation of While for resumable code #244

Open abelbraaksma opened 5 months ago

abelbraaksma commented 5 months ago

I just stumbled upon this old branch (in PR #98), which presumably was merged into a feature branch, and subsequently deleted. However, the ideas presented here by @TheAngryByrd are interesting, and we still don't have a solid dynamic implementation. We should start somewhere :).

Check also #93, which in turn builds forth on another non-merged PR. It has these commits, but they were subsequently removed. 🤷

Seems like it made it after all, but this code is nowhere to be found, see 4f67c13f3d981fd816b7fe4307be96b257c0fb93

Related to #246.

TheAngryByrd commented 5 months ago

Check out https://github.com/TheAngryByrd/IcedTasks/blob/4a903d9b3d2d53f7ff49ab89294d22fa82d85600/src/IcedTasks/TaskBuilderBase.fs#L265. It should have a good up to date dynamic implementation