From 379dca552ca91d22ee007b42f93803ad3dc2b274 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Wed, 20 Mar 2024 15:20:21 +0100 Subject: core: add the option to create a new task group without providing an executor & remove GlobalExecutor type --- jsonrpc/src/server.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'jsonrpc/src') 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}; -- cgit v1.2.3