!str - Switches Sink.publisher to use a boolean to indicate fanout rather than a number of allowed subscribers
This commit is contained in:
parent
f839a1f85d
commit
6cfa4df800
53 changed files with 221 additions and 212 deletions
|
|
@ -387,7 +387,7 @@ public class FlowTest extends StreamTest {
|
|||
final Source<String, BoxedUnit> in1 = Source.from(Arrays.asList("a", "b", "c"));
|
||||
final Source<String, BoxedUnit> in2 = Source.from(Arrays.asList("d", "e", "f"));
|
||||
|
||||
final Sink<String, Publisher<String>> publisher = Sink.publisher(1);
|
||||
final Sink<String, Publisher<String>> publisher = Sink.publisher(false);
|
||||
|
||||
final Source<String, BoxedUnit> source = Source.fromGraph(
|
||||
FlowGraph.create(new Function<FlowGraph.Builder<BoxedUnit>, SourceShape<String>>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue