From 9341e695d0e387927804716b60945912cba686dd Mon Sep 17 00:00:00 2001 From: hozan23 Date: Tue, 28 May 2024 00:26:59 +0200 Subject: jsonrpc: move `SubscriptionID` to message.rs --- jsonrpc/examples/pubsub_server.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jsonrpc/examples') diff --git a/jsonrpc/examples/pubsub_server.rs b/jsonrpc/examples/pubsub_server.rs index 4b77c45..bae5b37 100644 --- a/jsonrpc/examples/pubsub_server.rs +++ b/jsonrpc/examples/pubsub_server.rs @@ -4,7 +4,9 @@ use serde::{Deserialize, Serialize}; use serde_json::Value; use karyon_core::async_util::sleep; -use karyon_jsonrpc::{rpc_impl, rpc_pubsub_impl, ArcChannel, Error, Server, SubscriptionID}; +use karyon_jsonrpc::{ + message::SubscriptionID, rpc_impl, rpc_pubsub_impl, ArcChannel, Error, Server, +}; struct Calc {} -- cgit v1.2.3