Skip to content

Commit 58cf71b

Browse files
authored
Update timers.md
1 parent 74403e4 commit 58cf71b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/features/timers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ class MyWorkflow extends Workflow
2727
}
2828
```
2929

30+
You may also specify the time to wait as a string e.g. '5 seconds' or '30 minutes'.
31+
3032
**Important:** When using timers, you should not use the `Carbon::now()` method to get the current time. Instead, you should use the `WorkflowStub::now()` method, which will return the current time as seen by the workflow system. This is important because the actual time may not match the time as seen by your application.

0 commit comments

Comments
 (0)