Skip to content

We want design parity with FSharp.Control.AsyncSeq #345

Description

@dsyme

/repo-assist We want design parity between FSharp.Control.AsyncSeq and FSharp.Control.TaskSeq.

https://github.com/fsprojects/FSharp.Control.AsyncSeq

One difference is withCancellation is missing from FSharp.Control.AsyncSeq but more research about reaching design parity is needed. Look into what's needed for TaskSeq here.

Activity

  1. github-actions commented on Mar 14, 2026

    @github-actions
  2. dsyme commented on Mar 17, 2026

    @dsyme
    ContributorAuthor

    /repo-assist work on group 1

  3. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor

    Pull request created: #349

    Generated by Repo Assist

  4. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor

    Pull request created: #350

    Generated by Repo Assist

  5. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    As requested, I've implemented all Group 1 functions from the AsyncSeq design-parity gap analysis. Draft PR created: [Repo Assist] feat: add Group 1 AsyncSeq design-parity functions (branch: repo-assist/fix-issue-345-group1-20260317).

    Functions added

    Function Description
    replicateInfinite Infinite sequence repeating a constant value
    replicateInfiniteAsync Infinite sequence from an async thunk
    replicateUntilNoneAsync Sequence from async thunk, stops on None
    firstOrDefault First matching element or default
    lastOrDefault Last matching element or default
    splitAt Split prefix of N elements from remainder
    zipWith / zipWithAsync Zip two sequences with a mapping function
    zipWith3 / zipWithAsync3 Zip three sequences with a mapping function
    chunkBy / chunkByAsync Chunk consecutive elements with equal keys
    threadState / threadStateAsync Stateful map threading state through sequence

    Note: distinctUntilChangedWith/distinctUntilChangedWithAsync are in separate PR #346.

    Test status

    ✅ Build: 0 warnings, 0 errors
    ✅ Format: clean
    ✅ Tests: 4,942 passed, 2 skipped (infrastructure), 0 failed
    326 new tests across 6 new test files

    Generated by Repo Assist for issue #345 · ◷

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@346204513ecfa08b81566450d7d599556807389f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions