Skip to content

feat: add status object utils/async/any-by#11034

Open
MANDEep22332 wants to merge 8 commits intostdlib-js:developfrom
MANDEep22332:idea#9
Open

feat: add status object utils/async/any-by#11034
MANDEep22332 wants to merge 8 commits intostdlib-js:developfrom
MANDEep22332:idea#9

Conversation

@MANDEep22332
Copy link
Contributor

@MANDEep22332 MANDEep22332 commented Mar 19, 2026

Resolves #5808

Description

What is the purpose of this pull request?

This pull request:

  • {{TODO: This PR refactors @stdlib/utils/async/any-by to return a status object
    from anyByAsync, enabling callers to query the state of in-flight async
    operations. This is a prerequisite for the GSoC project aimed at achieving
    feature parity with async.js.}}

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Status Object Shape

The returned status object has the following properties:

Property Type Description
total number Total number of elements in the collection
ndone number Number of completed operations
nprocessed number Number of processed elements
nerrors number Number of errors encountered
operations Array Per-element status tracking

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 19, 2026
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 19, 2026

Coverage Report

Package Statements Branches Functions Lines
assert/is-biguint64array $\color{green}106/106$
$\color{green}+100.00%$
$\color{green}4/4$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}106/106$
$\color{green}+100.00%$
math/strided/special/acoversin-by $\color{green}197/197$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}2/2$
$\color{green}+100.00%$
$\color{green}197/197$
$\color{green}+100.00%$
utils/async/any-by $\color{red}603/605$
$\color{green}+99.67%$
$\color{red}73/75$
$\color{green}+97.33%$
$\color{green}10/10$
$\color{green}+100.00%$
$\color{red}603/605$
$\color{green}+99.67%$

The above coverage report was generated for the changes in this PR.

@github-actions github-actions bot mentioned this pull request Mar 19, 2026
@MANDEep22332 MANDEep22332 changed the title feat: add status object to anyByAsync factory to track in-flight async operations feat: add status object utlis/async/any-by Mar 19, 2026
@MANDEep22332 MANDEep22332 changed the title feat: add status object utlis/async/any-by feat: add status object utils/async/any-by Mar 19, 2026
@MANDEep22332
Copy link
Contributor Author

The Check PR Issue References workflow is failing due to a missing COPILOT_GITHUB_TOKEN secret — this appears to be a repo/org configuration issue, not related to my changes, can you help mw sir

@stdlib-bot stdlib-bot added the Potential Duplicate There might be another pull request resolving the same issue. label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review. Potential Duplicate There might be another pull request resolving the same issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC]: Achieve feature parity with async.js

2 participants