Skip to content

Commit 2d13fa6

Browse files
committed
Document cancellation of update handlers
1 parent c0fafa0 commit 2d13fa6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,10 @@ ensure that handler tasks have finished is to wait on the `workflow.all_handlers
793793
```python
794794
await workflow.wait_condition(lambda: workflow.all_handlers_finished())
795795
```
796+
797+
If your main workflow task finishes as a result of cancellation, then any in-progress update handler tasks will be
798+
automatically requested to cancel.
799+
796800
#### External Workflows
797801

798802
* `workflow.get_external_workflow_handle()` inside a workflow returns a handle to interact with another workflow

0 commit comments

Comments
 (0)