From e581820afb1fe13a43211b32e91862b0ce5c7ab5 Mon Sep 17 00:00:00 2001 From: qicosmos Date: Fri, 17 Oct 2025 20:05:54 +0800 Subject: [PATCH] update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cb7e378..cfaca49 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ int main(){ } }; - sync_wait(get_global_executor(), rpc_call()); + sync_wait(rpc_call()); } ``` @@ -116,7 +116,7 @@ int main(){ } }; - sync_wait(get_global_executor(), rpc_call()); + sync_wait(rpc_call()); } ``` @@ -145,7 +145,7 @@ void publish() { } }; - sync_wait(get_global_executor(), pub()); + sync_wait(pub()); } client 端代码: @@ -167,7 +167,7 @@ void subscribe() { } }; - sync_wait(get_global_executor(), sub()); + sync_wait(sub()); } ```