Skip to content

Commit 93a56bd

Browse files
authored
Adding note to DO fetch method. (#24730)
1 parent 623bab4 commit 93a56bd

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export class MyDurableObject extends DurableObject {
3333

3434
- This method can be `async`.
3535

36+
- This method exists for backward compatibility. New projects should [invoke RPC methods](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/#invoke-rpc-methods).
37+
3638
### `alarm`
3739

3840
- <code>alarm(`alarmInfo`<Type text="Object"/>)</code>: <Type text="Promise <void>"/>

0 commit comments

Comments
 (0)