pub fn update_task(
        &self,
        connection_pool: ConnectionPool<Core>,
        update_interval: Duration,
    ) -> MempoolCacheUpdateTask {
        MempoolCacheUpdateTask {
            cache: self.0.clone(),
            connection_pool,
            update_interval,
        }
    }
Returns a task that will update this cache in background.
core/node/api_server/src/web3/mempool_cache.rs