Skip to content

Commit c209e9b

Browse files
authored
Explicitly mentioning setAlarm can override (#22321)
previously scheduled alarm
1 parent f9accc1 commit c209e9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/docs/durable-objects/api/alarms.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Alarms can be used to build distributed primitives, like queues or batching of w
4343
: <Type text="void" />
4444

4545
- Set the time for the alarm to run. Specify the time as the number of milliseconds elapsed since the UNIX epoch.
46+
- If you call `setAlarm` when there is already one scheduled, it will override the existing alarm.
4647

4748
### `deleteAlarm`
4849

0 commit comments

Comments
 (0)