AbstractQuery<String> (List<String> strings) { return new AbstractQuery<>() { @Override protected boolean processResults(@NotNull Processor<? super String> consumer) { JobLauncher.getInstance().invokeConcurrentlyUnderProgress(strings, null, consumer); return false; } }; }