You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/durable-objects/concepts/durable-object-lifecycle.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ const id = env.MY_DURABLE_OBJECT.idFromName("foo");
19
19
const stub =env.MY_DURABLE_OBJECT.get(id);
20
20
```
21
21
22
-
Once we have the Durable Object Stub, we can now invoke methods on the Durable Object. Note that the above two lines does not yet send any request to the remote Durable Object.
22
+
Once we have the Durable Object Stub, we can now invoke methods on the Durable Object. Note that the above two lines do not yet send any request to the remote Durable Object.
23
23
24
24
The following line invokes the `sayHello()` method of the Durable Object class bound to the `MY_DURABLE_OBJECT` binding:
25
25
@@ -28,7 +28,7 @@ The following line invokes the `sayHello()` method of the Durable Object class b
28
28
const rpcResponse =awaitstub.sayHello();
29
29
```
30
30
31
-
At this point, the caller sends a request to the Durable Object identified by the stub. The lifecycle of the Durable Object now begins.
31
+
At this point, the caller sends a request to the Durable Object identified by the stub. The lifecycle of the Durable Object begins.
0 commit comments