Skip to content

feat(useAsync$): pollMs option#8301

Open
wmertens wants to merge 4 commits intobuild/v2from
use-async
Open

feat(useAsync$): pollMs option#8301
wmertens wants to merge 4 commits intobuild/v2from
use-async

Conversation

@wmertens
Copy link
Member

@wmertens wmertens commented Feb 4, 2026

  • adds pollMs to useAsync$ options to automatically rerun every x ms
  • you can change signal.pollMs, even from within the compute function (but you will have to have a self reference), and it will do the right thing
  • when you set pollMs during SSR, it will automatically resume on the client, as part of qidle

@wmertens wmertens requested review from a team as code owners February 4, 2026 22:18
@changeset-bot
Copy link

changeset-bot bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: af129d0

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2026

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@8301
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@8301
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@8301
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@8301

commit: af129d0

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview af129d0

this allows dynamically changing polling, even from within the compute function
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