Skip to content

Commit 0b79aa8

Browse files
committed
adding workers rpc to docs
1 parent 52bfa16 commit 0b79aa8

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

src/content/docs/workers/runtime-apis/rpc/index.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: The built-in, JavaScript-native RPC system built into Workers and
77

88
---
99

10-
import { DirectoryListing, Render } from "~/components"
10+
import { DirectoryListing, Render, Stream } from "~/components"
1111

1212
:::note
1313
To use RPC, [define a compatibility date](/workers/configuration/compatibility-dates) of `2024-04-03` or higher, or include `rpc` in your [compatibility flags](/workers/configuration/compatibility-flags/#nodejs-compatibility-flag).
@@ -230,6 +230,12 @@ In this way, the introducer Worker can connect two Workers that did not otherwis
230230

231231
Currently, this proxying only lasts until the end of the Workers' execution contexts. A proxy connection cannot be persisted for later use.
232232

233+
## Video Tutorial
234+
235+
In this video, we explore how Cloudflare Workers supports Remote Procedure Calls (RPC) to simplify communication between workers. Learn how to implement RPC in your JavaScript applications and build serverless solutions with ease. Whether you’re managing microservices or optimizing web architecture, this tutorial will show you how to quickly set up and use Cloudflare Workers for RPC calls. By the end of this video, you’ll understand how to call functions between workers, pass functions as arguments, and implement user authentication with Cloudflare Workers.
236+
237+
<Stream videoId="d506935b6767fd07626adbec46d41e6d" videoTitle="Introduction to Workers RPC" thumbnailTimeOrURL="2.5s" />
238+
233239
## More Details
234240

235241
<DirectoryListing />

src/content/videos/index.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,17 @@ entries:
347347
updated: 2024-11-14
348348
difficulty: Intermediate
349349
content_type: 🎥 Video
350-
pcx_content_type: tutorial
350+
pcx_content_type: tutorial
351+
- link: https://developers.cloudflare.com/workers/runtime-apis/rpc/#video-tutorial
352+
title: Workers RPC Tutorial
353+
description: Learn how to implement RPC in your JavaScript applications and build serverless solutions.
354+
tags: [Workers, Pages]
355+
languages: [TypeScript]
356+
products: [Workers, Pages]
357+
cloudflare: true
358+
author: confidence
359+
updated: 2024-11-14
360+
difficulty: Beginner
361+
content_type: 🎥 Video
362+
pcx_content_type: tutorial
363+

0 commit comments

Comments
 (0)