diff options
author | hozan23 <hozan23@karyontech.net> | 2024-05-28 00:26:59 +0200 |
---|---|---|
committer | hozan23 <hozan23@karyontech.net> | 2024-05-28 00:26:59 +0200 |
commit | 9341e695d0e387927804716b60945912cba686dd (patch) | |
tree | cd6389124e3295931d621a7a68837bde74ff9d95 /jsonrpc/src/server | |
parent | 8afb4d30750840f66d9f97c2c54a893d3934c45e (diff) |
jsonrpc: move `SubscriptionID` to message.rs
Diffstat (limited to 'jsonrpc/src/server')
-rw-r--r-- | jsonrpc/src/server/channel.rs | 3 |
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 { |