aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2024-03-20 15:20:21 +0100
committerhozan23 <hozan23@proton.me>2024-03-20 15:20:21 +0100
commit379dca552ca91d22ee007b42f93803ad3dc2b274 (patch)
tree1ba10573b6ec5213baf46f6ab9c3767e0daa4eed /jsonrpc/src
parent340957fec147f4429796413f27bbd9b84ba6f141 (diff)
core: add the option to create a new task group without providing an
executor & remove GlobalExecutor type
Diffstat (limited to 'jsonrpc/src')
-rw-r--r--jsonrpc/src/server.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/jsonrpc/src/server.rs b/jsonrpc/src/server.rs
index b090d5c..ac1673d 100644
--- a/jsonrpc/src/server.rs
+++ b/jsonrpc/src/server.rs
@@ -3,10 +3,7 @@ use std::{collections::HashMap, sync::Arc};
use log::{debug, error, warn};
use smol::lock::RwLock;
-use karyon_core::{
- async_util::{TaskGroup, TaskResult},
- Executor,
-};
+use karyon_core::async_util::{Executor, TaskGroup, TaskResult};
use karyon_net::{Conn, Listener, ToListener};