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 --- p2p/examples/shared/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p2p/examples') diff --git a/p2p/examples/shared/mod.rs b/p2p/examples/shared/mod.rs index aad40d7..8065e63 100644 --- a/p2p/examples/shared/mod.rs +++ b/p2p/examples/shared/mod.rs @@ -3,7 +3,7 @@ use std::{num::NonZeroUsize, thread}; use easy_parallel::Parallel; use smol::{channel, future, future::Future}; -use karyon_core::Executor; +use karyon_core::async_util::Executor; /// Returns an estimate of the default amount of parallelism a program should use. /// see `std::thread::available_parallelism` -- cgit v1.2.3