Skip to content

Async package#909

Draft
atk wants to merge 2 commits into
nextfrom
async-package
Draft

Async package#909
atk wants to merge 2 commits into
nextfrom
async-package

Conversation

@atk
Copy link
Copy Markdown
Member

@atk atk commented May 21, 2026

This should replace the resource package, featuring the following primitives:

  • fromStream/fromJSONStream: (small helper to aggregate web streams); maybe in the future, we can also support fromJSONpStream for progressive JSON or similar formats
  • makeAbortable/createAbortable: the same as in the resource package, but chainable for actions
  • makeRetrying
  • makeCache

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 21, 2026

⚠️ No Changeset found

Latest commit: ddb14a3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@atk atk changed the base branch from main to next May 21, 2026 20:42
@atk atk force-pushed the async-package branch from d0701be to 0d9286a Compare May 22, 2026 12:51
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 22, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d3d12402-6306-4c71-a96d-5ca320f7c86e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch async-package

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread packages/async/src/index.ts Outdated
Comment thread packages/async/src/index.ts Outdated
Comment thread packages/async/src/index.ts Outdated
Comment thread packages/async/src/index.ts Outdated
Comment thread packages/async/test/server.test.ts
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 27, 2026

Deploying solid-primitives with  Cloudflare Pages  Cloudflare Pages

Latest commit: ddb14a3
Status: ✅  Deploy successful!
Preview URL: https://78b54beb.solid-primitives.pages.dev
Branch Preview URL: https://async-package.solid-primitives.pages.dev

View logs

atk added 2 commits May 27, 2026 17:00
feat: fromJSONStream - new primitive
test: improve tests
feat: makeRetrying WIP
@atk atk force-pushed the async-package branch from acd3b4b to ddb14a3 Compare May 27, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants