Skip to content

Refactor WorkflowWorker to put eager activity dispatch in the right place#1453

Merged
Spikhalskiy merged 1 commit intotemporalio:masterfrom
Spikhalskiy:workflow-worker-refactor
Sep 25, 2022
Merged

Refactor WorkflowWorker to put eager activity dispatch in the right place#1453
Spikhalskiy merged 1 commit intotemporalio:masterfrom
Spikhalskiy:workflow-worker-refactor

Conversation

@Spikhalskiy
Copy link
Copy Markdown
Contributor

Why?

Eager activity dispatch is buried deep down inside sendReply method where it does not belong.
This creates a surprising behavior of sendReply, code that is harder to follow and modify in the future.

@Spikhalskiy Spikhalskiy force-pushed the workflow-worker-refactor branch from 152380b to 64cf1d7 Compare September 25, 2022 00:22
@Spikhalskiy Spikhalskiy merged commit c4a64d2 into temporalio:master Sep 25, 2022
@Spikhalskiy Spikhalskiy deleted the workflow-worker-refactor branch September 25, 2022 01:59
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