Creates a new executor with the given concurrency. Uses isolates unless in debug mode
Executor newExecutor({required int concurrency}) => kDebugMode ? QueueExecutor() : PoolExecutor(concurrency: concurrency);