Skip to content

Commit ac6253c

Browse files
Apply suggestions from code review
Co-authored-by: Jun Lee <[email protected]>
1 parent 736a4dc commit ac6253c

File tree

1 file changed

+3
-4
lines changed
  • src/content/docs/workers/development-testing

1 file changed

+3
-4
lines changed

src/content/docs/workers/development-testing/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Certain bindings are not supported for remote connections during local developme
295295

296296
If `experimental_remote: true` is specified in Wrangler configuration for any of the following unsupported binding types, Cloudflare **will issue an error**. See [all supported and unsupported bindings for remote bindings](/workers/development-testing/bindings-per-env/).
297297

298-
- [**Durable Objects**](/workers/wrangler/configuration/#durable-objects): Enabling remote connections for Durable Objects may be supported in the future, but currently will always run locally. However, using Durable Objects in combination with remote bindings is possible as illustrated in the [Durable Objects usage section](#durable-objects-usage-with-remote-resources) below.
298+
- [**Durable Objects**](/workers/wrangler/configuration/#durable-objects): Enabling remote connections for Durable Objects may be supported in the future, but currently will always run locally. However, using Durable Objects in combination with remote bindings is possible, as illustrated in the [Durable Objects usage section](#durable-objects-usage-with-remote-resources) below.
299299

300300
- [**RPC on service bindings**](/workers/runtime-apis/bindings/service-bindings/rpc/): While you can make `fetch()` calls on remote service bindings, you cannot currently call RPC methods on remote service bindings.
301301

@@ -327,13 +327,12 @@ There are two recommended patterns for this:
327327

328328
- **Local Durable Objects/Workflows with remote bindings:**
329329

330-
When you enable remote bindings in your [Wrangler configuration](/workers/wrangler/configuration), your locally running Durable Objects and Workflows can access those remote resources.
331-
This allows such bindings, although run locally to interact with remote resources during local development.
330+
When you enable remote bindings in your [Wrangler configuration](/workers/wrangler/configuration), your locally running Durable Objects and Workflows can access remote resources. This allows such bindings, although run locally, to interact with remote resources during local development.
332331

333332
- **Accessing remote Durable Objects/Workflows via service bindings:**
334333

335334
To interact with remote Durable Object or Workflow instances, deploy a Worker that defines those. Then, in your local Worker, configure a remote [service binding](/workers/runtime-apis/bindings/service-bindings/) pointing to the deployed Worker.
336-
Your local Worker will be then able to interact with the remote deployed Worker which in turn can communicate with the remote Durable Objects/Workflows. In such a manner you can create a communication channel via the remote service binding, effectively using the deployed Worker as a proxy interface to the remote bindings during local development.
335+
Your local Worker will be then able to interact with the remote deployed Worker, which in turn can communicate with the remote Durable Objects/Workflows. Using this method, you can create a communication channel via the remote service binding, effectively using the deployed Worker as a proxy interface to the remote bindings during local development.
337336

338337

339338
### Important Considerations

0 commit comments

Comments
 (0)