feat(rpc): created EthApiBuilder type (#14041)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Dhruv Agarwal
2025-01-29 19:13:10 +05:30
committed by GitHub
parent 5fcefcea8c
commit 6d5514964b
6 changed files with 213 additions and 31 deletions

View File

@ -113,7 +113,7 @@ pub struct TokioTaskExecutor;
impl TokioTaskExecutor {
/// Converts the instance to a boxed [`TaskSpawner`].
pub fn boxed(self) -> Box<dyn TaskSpawner> {
pub fn boxed(self) -> Box<dyn TaskSpawner + 'static> {
Box::new(self)
}
}