Skip to content

Add async version of Batch #19

@atifaziz

Description

@atifaziz

Create an asynchronous version of the Batch that extends IAsyncEnumerable instead of IEnumerable.

Acceptance Criteria

  • Implementation is behaviourally identical to synchronous version except the asynchronous execution part.
  • ConfigureAwait(false) is used to configure each await point in the implementation.
  • Unit tests are added and inspired from those found in BatchTest.cs for the synchronous version of Batch.
  • Running dotnet test MoreLinq.Test doesn't fail due to any failing tests.
  • A unit test exists to exercise cancellation midway through iteration of the result returned by Batch.
  • All CI checks pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions