Skip to content

Commit a5e702a

Browse files
Apply suggestions from code review
Co-authored-by: Somhairle MacLeòid <[email protected]>
1 parent 2973d1c commit a5e702a

File tree

1 file changed

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

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +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. Using Durable Objects in combination with remote bindings is however possible
299-
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.
300299

301300
- [**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.
302301

@@ -322,14 +321,13 @@ If you have use-cases for connecting to any of the remote resources above, pleas
322321

323322
#### Durable Objects Usage with Remote Resources
324323

325-
While Durable Objects cannot currently run in remote mode, you can still use them during local development and have them interact with remote resources.
324+
While Durable Object bindings cannot currently be remote, you can still use them during local development and have them interact with remote resources.
326325

327326
There are two main approaches for this:
328327

329328
- **Local Durable Objects with remote bindings:**
330329

331-
When you enable remote mode for a binding in your [Wrangler configuration](/workers/wrangler/configuration), both your main Worker and any local Durable Object
332-
can make use of it. This allows Durable Objects to interact with remote resources during local development.
330+
When you enable remote mode for a binding in your [Wrangler configuration](/workers/wrangler/configuration), both your main Worker and any local Durable Objects can make use of it. This allows Durable Objects to interact with remote resources during local development.
333331

334332
- **Remote Durable Objects with local Workers:**
335333

0 commit comments

Comments
 (0)