Skip to content

Commit 2991a1c

Browse files
committed
Matching alarmInfo definition for consistency.
1 parent f9ef95c commit 2991a1c

File tree

1 file changed

+2
-2
lines changed
  • src/content/docs/durable-objects/api

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class MyDurableObject extends DurableObject {
4040
- Called by the system when a scheduled alarm time is reached.
4141

4242
- The optional parameter `alarmInfo` object has two properties:
43-
- `retryCount` <Type text="number"/>: The maximum number of retries if the alarm does not wake up the Durable Object.
44-
- `isRetry` <Type text="boolean"/>: A boolean value to indicate if the alarm should be retried.
43+
- `retryCount` <Type text="number"/>: The number of times this alarm event has been retried.
44+
- `isRetry` <Type text="boolean"/>: A boolean value to indicate if the alarm has been retried. This value is `true` if this alarm event is a retry.
4545

4646
- The `alarm()` handler has guaranteed at-least-once execution and will be retried upon failure using exponential backoff, starting at two second delays for up to six retries. Retries will be performed if the method fails with an uncaught exception.
4747

0 commit comments

Comments
 (0)