Skip to content

Conversation

@reckter
Copy link
Member

@reckter reckter commented Nov 26, 2024

📦 Published PR as canary version: 3.0.0--canary.39.17122777697.0

✨ Test out this PR locally via:

npm install @opencreek/ext@3.0.0--canary.39.17122777697.0
# or 
yarn add @opencreek/ext@3.0.0--canary.39.17122777697.0

JS / TS didnt like the Abstract Class loop we had with the chaining
setup."TypeError: Class extends value undefined is not a constructor or null "
@reckter reckter added the major Increment the major version when merged label Jul 29, 2025
@reckter reckter requested review from Copilot and mhlz August 1, 2025 16:16
@reckter reckter changed the title 🚧 Add async chain idea Add async chain idea Aug 1, 2025
@reckter reckter marked this pull request as ready for review August 1, 2025 16:16

This comment was marked as outdated.

reckter and others added 5 commits August 1, 2025 18:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@reckter reckter requested a review from Copilot August 1, 2025 16:22

This comment was marked as outdated.

@reckter reckter requested a review from Copilot August 1, 2025 16:34
@reckter reckter self-assigned this Aug 1, 2025

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@reckter reckter requested a review from Copilot August 1, 2025 16:43

This comment was marked as outdated.

@reckter reckter requested a review from Copilot August 1, 2025 16:53

This comment was marked as outdated.

@reckter reckter requested a review from Copilot August 1, 2025 16:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds async chain functionality to the collections module, introducing an AsyncChain class that provides asynchronous operations for collection processing. The PR also removes the previously existing mapValues method from the global object prototype extensions and exports the new async chain functionality.

  • Introduces comprehensive async collection processing with AsyncChain class
  • Adds async variants of all existing chain operations (map, filter, reduce, etc.)
  • Integrates async chains with the existing synchronous chain API

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/objects.ts Removes mapValues method from global object prototype extensions
src/index.ts Exports the new AsyncChain functionality
src/collections/AsyncChain.ts Implements the complete async chain functionality with all collection operations
src/collections/AsyncChain.test.ts.md Test snapshots for async chain functionality
src/collections/AsyncChain.test.ts Comprehensive test suite for async chain operations
src/collections.ts Integrates async chains with existing synchronous chains and updates type exports
src/collections.test.ts Additional tests for async chain integration

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@reckter reckter changed the title Add async chain idea Implement an Async Chain, to enable async chain operations Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major Increment the major version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants