akka
akka copied to clipboard
Add `Source.elements` back for javadsl?
Source.elements will be easy to use than the current Source.from(Arrays.asList(...))
In Flux we can use Flux.fromArray and Flux.just(T...t)
refs:https://github.com/akka/akka/issues/17923
refs: https://github.com/akka/akka/pull/17950
refs: https://github.com/scala/bug/issues/8743
Do you mean that it would take a varargs parameter?
Source.elements("a", "b", "c")