Skip to content

Commit 655025a

Browse files
committed
Clarification of wording
1 parent dfb4112 commit 655025a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Alarms can be used to build distributed primitives, like queues or batching of w
4848
:::caution[Calling `setAlarm` inside the constructor]
4949
If you wish to call `setAlarm` inside the constructor of a Durable Object, ensure that you are first checking whether an alarm has already been set.
5050

51-
This is due to the fact that, if the Durable Object is inactive, the constructor is invoked before the [`alarm` handler](/durable-objects/api/alarms/#alarm). Therefore, if the constructor calls `setAlarm`, it could interfere with the next alarm which has already been set.
51+
This is due to the fact that, if the Durable Object wakes up after being inactive, the constructor is invoked before the [`alarm` handler](/durable-objects/api/alarms/#alarm). Therefore, if the constructor calls `setAlarm`, it could interfere with the next alarm which has already been set.
5252
:::
5353

5454
### `deleteAlarm`

0 commit comments

Comments
 (0)