-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9192133
commit 49f342f
Showing
9 changed files
with
283 additions
and
169 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
message_passing/message_handler_waiting_compensation_cleanup/activities.py
This file was deleted.
Oops, something went wrong.
124 changes: 0 additions & 124 deletions
124
message_passing/message_handler_waiting_compensation_cleanup/workflows.py
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
message_passing/waiting_for_handlers_and_compensation/activities.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import asyncio | ||
|
||
from temporalio import activity | ||
|
||
|
||
@activity.defn | ||
async def activity_executed_by_update_handler(): | ||
await asyncio.sleep(1) | ||
|
||
|
||
@activity.defn | ||
async def activity_executed_by_update_handler_to_perform_compensation(): | ||
await asyncio.sleep(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.