logo

We've added JavaScript-native RPC to Cloudflare Workers

ID: 90d78689-2720-5b23-b29c-84736975d058

STIX ID: report--90d78689-2720-5b23-b29c-84736975d058

Feed Name: Cloudflare Blog

Date Published: 2024-04-05

Date Updated: 2026-04-27

Author: Kenton Varda

...
...

Cloudflare Workers introduces a built-in RPC system enabling seamless, low-boilerplate Worker-to-Worker and Worker-to–Durable Object calls using idiomatic JavaScript classes, structured-clone data, function/object pass-through via proxies, streaming, and near-zero latency for same-thread calls. The system emphasizes capability-based security and named entrypoints to restrict access, supports TypeScript typings for client stubs, integrates directly with Durable Objects (including speculative promise pipelining to reduce network round trips), and aims to reduce supply-chain risk by minimizing dependencies while opening possibilities for future custom bindings.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.