Skip to content

Commit 0793d87

Browse files
authored
Update important note on child workflow handles
1 parent 39325bf commit 0793d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/child-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class ParentWorkflow extends Workflow
170170
}
171171
```
172172

173-
**Important:** When using query methods in the same workflow with child handles, you must first await for the child handle to be available. Query methods like `$workflow->childId()` may return `null` if you query the parent workflow before the child workflow has started.
173+
**Important:** When using query methods in the same workflow with child handles, you must first await for the child handle to be available. Query methods like `$workflow->childId()` may return `null` if you query the parent workflow before the child handle has finished being awaited.
174174

175175
Then you can interact with the child workflow directly.
176176

0 commit comments

Comments
 (0)