.parallel(substream ->
substream.consume(i -> latch.countDown()))
.drain();
break;
default:
Dispatcher dispatcher1 = env.getDispatcher(dispatcher);
mapManydeferred = Streams.<Integer>defer(env, dispatcher1);
mapManydeferred
.flatMap(Streams::just)
.consume(i -> latch.countDown());
}