-
Notifications
You must be signed in to change notification settings - Fork 129
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
Update-with-start early return sample #401
Conversation
dacba52
to
dae1850
Compare
dae1850
to
799b8a4
Compare
early-return/src/start-workflow.ts
Outdated
startWorkflowOperation, | ||
}); | ||
const wfHandle = await startWorkflowOperation.workflowHandle(); | ||
const finalReport = await wfHandle.result(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should print the early confirmation before awaiting for the workflow completion. Right now, both will display at the same time, which fails to demonstrate the notion of an "early return".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
d2a6cc2
to
a1ee719
Compare
462b085
to
c41951a
Compare
This reverts commit eb815cf.
c41951a
to
6eb79c6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only did a quick last review, but that looks ok to me. If anything pops up, we'll revisit.
Thanks @dandavison !
Cannot be merged until UwS is released.