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/src/server/channel.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'jsonrpc/src/server') 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; pub(crate) struct NewNotification { -- cgit v1.2.3