aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src/server
diff options
context:
space:
mode:
authorhozan23 <hozan23@karyontech.net>2024-05-28 00:26:59 +0200
committerhozan23 <hozan23@karyontech.net>2024-05-28 00:26:59 +0200
commit9341e695d0e387927804716b60945912cba686dd (patch)
treecd6389124e3295931d621a7a68837bde74ff9d95 /jsonrpc/src/server
parent8afb4d30750840f66d9f97c2c54a893d3934c45e (diff)
jsonrpc: move `SubscriptionID` to message.rs
Diffstat (limited to 'jsonrpc/src/server')
-rw-r--r--jsonrpc/src/server/channel.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/jsonrpc/src/server/channel.rs b/jsonrpc/src/server/channel.rs
index f14c1dd..efcd344 100644
--- a/jsonrpc/src/server/channel.rs
+++ b/jsonrpc/src/server/channel.rs
@@ -2,9 +2,8 @@ use std::sync::Arc;
use karyon_core::{async_runtime::lock::Mutex, util::random_32};
-use crate::{Error, Result};
+use crate::{message::SubscriptionID, Error, Result};
-pub type SubscriptionID = u32;
pub type ArcChannel = Arc<Channel>;
pub(crate) struct NewNotification {