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
Thanks for the suggestion, @xperiandri! To help scope this, could you clarify which of these you mean?
Value-returning combinators on the existing TaskSeq<'T>, e.g. tryHeadV/tryFindV returning voption, or ...ValueAsync variants taking 'T -> ValueTask<'U>. Note chooseV/chooseVAsync already exist for voption choosers.
A separate ValueTaskSeq type or builder whose enumerator is built on ValueTask. Note IAsyncEnumerable<'T> already uses ValueTask<bool> for MoveNextAsync.
A concrete example of the call site you'd like to write, and the allocation or API ergonomics problem it solves, would help us judge feasibility. Option 1 looks like a reasonable incremental addition; option 2 would be a much larger design change.
Generated by 🌈 Repo Assist, see workflow run. Learn more. Comment /repo-assist to run again
Add this agentic workflow to your repo
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/repo-assist.md@b4e175bab6674279e0fe158f7dc877b77bc9d92f
It would be nice to have functions that return
ValueOptionand acceptValueTask