Skip to content

lift async array methods to stand-alone functions#3676

Open
d-v-b wants to merge 5 commits intozarr-developers:mainfrom
d-v-b:chore/dissolve-async-array
Open

lift async array methods to stand-alone functions#3676
d-v-b wants to merge 5 commits intozarr-developers:mainfrom
d-v-b:chore/dissolve-async-array

Conversation

@d-v-b
Copy link
Contributor

@d-v-b d-v-b commented Jan 26, 2026

This PR takes the bulk of the AsyncArray methods and delegates them to stand-alone functions. This makes the core functionality like reading chunks, writing chunks, resizing, appending, etc, possible without creating an AsyncArray.

A set of focused, independent functions is a much stronger API foundation than a single object.

Opening as a draft for discussion -- for example, should we have _sync versions of all these new functions?

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Jan 26, 2026
This was referenced Jan 28, 2026
@d-v-b d-v-b marked this pull request as ready for review February 2, 2026 19:22
@d-v-b
Copy link
Contributor Author

d-v-b commented Feb 2, 2026

this is ready for review. this is a purely internal refactor that shouldn't affect anything at runtime.

@d-v-b d-v-b requested a review from a team February 2, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant