mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
refactor(tasks): remove TaskSpawner trait in favor of concrete Runtime (#22052)
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
committed by
GitHub
parent
74abad29ad
commit
57148eac9f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user