Skip to content

pass parallel option down to startPolling#9

Merged
vkarpov15 merged 2 commits intomainfrom
vkarpov15/parallel-support
May 6, 2026
Merged

pass parallel option down to startPolling#9
vkarpov15 merged 2 commits intomainfrom
vkarpov15/parallel-support

Conversation

@vkarpov15
Copy link
Copy Markdown
Member

Currently no way to set parallel option, this PR fixes that

Copilot AI review requested due to automatic review settings May 6, 2026 21:09
Copy link
Copy Markdown
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 exposes the existing poll() concurrency control (parallel) via startPolling() so callers can configure how many tasks are processed per polling iteration.

Changes:

  • Read options.parallel in startPolling().
  • Pass parallel through to poll() via pollOptions when provided.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/taskSchema.js
Comment thread src/taskSchema.js
@vkarpov15 vkarpov15 merged commit 3b029c6 into main May 6, 2026
4 checks passed
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