pub fn run_executor<T: 'static + Executor + Send + Sync>(
    config: &IndexerConfig,
    pool: IndexerConnectionPool,
    executor: T
) -> Result<impl Future<Output = IndexerResult<()>>>
Expand description

Run the executor task until the kill switch is flipped, or until some other stop criteria is met.