Skip to content

Commit 0ada43d

Browse files
Apply suggestions from code review
Co-authored-by: marciocloudflare <[email protected]>
1 parent 26a7a44 commit 0ada43d

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
@@ -39,7 +39,7 @@ export class MyDurableObject extends DurableObject {
3939

4040
- Called by the system when a scheduled alarm time is reached.
4141

42-
- The `alarm()` handler has guaranteed at-least-once execution and will be retried upon failure using exponential backoff, starting at 2 second delays for up to 6 retries. Retries will be performed if the method fails with an uncaught exception.
42+
- 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.
4343

4444
- This method can be `async`.
4545

@@ -57,7 +57,7 @@ export class MyDurableObject extends DurableObject {
5757

5858
### `webSocketClose`
5959

60-
- <code> webSocketClose(ws <Type text="WebSocket" />, code <Type text="number" />,reason <Type text="string" />, wasClean <Type text="boolean" />)</code>: <Type text="void" />
60+
- <code> webSocketClose(ws <Type text="WebSocket" />, code <Type text="number" />, reason <Type text="string" />, wasClean <Type text="boolean" />)</code>: <Type text="void" />
6161

6262
- Called by the system when a WebSocket is closed. `wasClean()` is true if the connection closed cleanly, false otherwise.
6363

0 commit comments

Comments
 (0)