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

Waiting for handlers to finish in all exit cases + abort and compensation in a message handler #144

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

dandavison
Copy link
Contributor

@dandavison dandavison commented Oct 2, 2024

From the README:

This sample demonstrates how to write a workflow that:

1. Ensures that an update handler is finished before a successful workflow return, and on workflow cancellation and failure
2. Execute a compensation/cleanup activity in the update handler when the workflow is cancelled or fails, and also in the main workflow method.

@dandavison dandavison force-pushed the message-handler-waiting-compensation-cleanup branch from c566b62 to 9355bc2 Compare October 2, 2024 17:34
@dandavison dandavison force-pushed the message-handler-waiting-compensation-cleanup branch 3 times, most recently from ae0a6e9 to 49f342f Compare October 4, 2024 12:28
@dandavison dandavison force-pushed the message-handler-waiting-compensation-cleanup branch 2 times, most recently from 422db1b to 9a30e77 Compare October 4, 2024 15:57
@dandavison dandavison force-pushed the message-handler-waiting-compensation-cleanup branch from ed6b996 to 1ea0905 Compare October 4, 2024 16:31
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.

3 participants