Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: process queued items concurrently #17

Merged
merged 1 commit into from
Jan 27, 2024
Merged

feat: process queued items concurrently #17

merged 1 commit into from
Jan 27, 2024

Conversation

retro
Copy link
Owner

@retro retro commented Jan 27, 2024

Queued items are now processed concurrently, and state changes are emitted more often.

BREAKING CHANGE: If a user provides one of the activity functions (for workflows, tasks or work items), state change will be emitted immediatelly after user "advances" the state (manually calls startTask, completeWorkItem or one of the similar functions.

Whatever was enqueued during the current "turn" will be processed concurrently. For instance if you initialize and enqueue start of multiple work items, they will be started concurrently. Previously, they were processed sequentially.

Queued items are now processed concurrently, and state changes are emitted more often.

BREAKING CHANGE: If a user provides one of the activity functions (for workflows, tasks or work
items), state change will be emitted immediatelly after user "advances" the state (manually calls
`startTask`, `completeWorkItem` or one of the similar functions.

Whatever was enqueued during the current "turn" will be processed concurrently. For instance if you initialize
and enqueue start of multiple work items, they will be started concurrently. Previously, they were processed
sequentially.
@retro retro merged commit a178053 into main Jan 27, 2024
1 check passed
@retro retro deleted the next branch January 27, 2024 22:13
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.

1 participant