You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And now, instead of coming up and maintaining multiple versions of each method, everything could be passed via the Configuration object, for example:
vare = Executors.newFixedThreadPool(4);
Stream.of(1).collect(parallel(i -> i, toList(), on(e).withMaxParallelism(4)));
Naturally, all the existing methods would stay there for backward compatibility, but would be internally rewritten to leverage the configuration object
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We're reaching a point where there's a significant number of things that can be configured:
Executor
Executor
Executor
My initial idea is to create a new set of methods that look more/less like this:
And now, instead of coming up and maintaining multiple versions of each method, everything could be passed via the
Configuration
object, for example:Naturally, all the existing methods would stay there for backward compatibility, but would be internally rewritten to leverage the configuration object
Beta Was this translation helpful? Give feedback.
All reactions