We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d188520 commit 36dc917Copy full SHA for 36dc917
docs/features/signal+timer.md
@@ -24,7 +24,7 @@ class MyWorkflow extends Workflow
24
public function execute()
25
{
26
// Wait for 5 minutes or $ready = true, whichever comes first
27
- yield WorkflowStub::awaitWithTimeout(300, fn () => $this->ready);
+ $result = yield WorkflowStub::awaitWithTimeout('5 minutes', fn () => $this->ready);
28
}
29
30
```
0 commit comments