refactor(tasks): remove TaskSpawner trait in favor of concrete Runtime (#22052)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Georgios Konstantopoulos
2026-02-16 00:51:10 -08:00
committed by GitHub
parent 74abad29ad
commit 57148eac9f
44 changed files with 433 additions and 749 deletions

View File

@@ -98,7 +98,7 @@ pub trait FullNodeComponents: FullNodeTypes + Clone + 'static {
/// Returns an executor handle to spawn tasks.
///
/// This can be used to spawn critical, blocking tasks or register tasks that should be
/// terminated gracefully. See also [`TaskSpawner`](reth_tasks::TaskSpawner).
/// terminated gracefully.
fn task_executor(&self) -> &TaskExecutor;
}