This commit is contained in:
绝尘 2024-09-22 09:55:13 +08:00
parent bee336ed5e
commit 027fbf781d
4 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 2
title: 广播消息
description: 发送、接收广播消息
---
@ -29,4 +29,4 @@ description: 发送、接收广播消息
zhub.broadcast("topic-a", value);
return "send ok!";
}
```
```

View File

@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 3
title: 延时消息
description: zhub 的延时消息使用
---
@ -32,4 +32,4 @@ description: zhub 的延时消息使用
zhub.delay("topic-delay-a", "delay-value", 1000);
return "send ok!";
}
```
```

View File

@ -1,6 +1,6 @@
---
sidebar_position: 1
title: 订阅&发布
title: 发布&订阅
description: zhub 创建客户端连接、订阅主题、发送主题消息
---

View File

@ -1,5 +1,7 @@
---
sidebar_position: 1
sidebar_position: 4
title: 远程调用 RPC
description: RPC 远程调用Remote Procedure CallRPC
---
# RPC远程调用