=str #16103 Flattened javadsl class structure - no adapters, no ops
This commit is contained in:
parent
7053295de9
commit
9dd3685a2a
16 changed files with 862 additions and 952 deletions
|
|
@ -409,12 +409,11 @@ public class FlowTest {
|
|||
final java.lang.Iterable<String> input = Arrays.asList("A", "B", "C");
|
||||
|
||||
Source.from(input)
|
||||
.runWith(Sink.<String>onComplete(
|
||||
new OnComplete<BoxedUnit>() {
|
||||
@Override public void onComplete(Throwable failure, BoxedUnit success) throws Throwable {
|
||||
probe.getRef().tell(success, ActorRef.noSender());
|
||||
}
|
||||
}),
|
||||
.runWith(Sink.<String>onComplete(new Procedure<BoxedUnit>() {
|
||||
@Override public void apply(BoxedUnit param) throws Exception {
|
||||
probe.getRef().tell(param, ActorRef.noSender());
|
||||
}
|
||||
}),
|
||||
materializer);
|
||||
|
||||
probe.expectMsgClass(BoxedUnit.class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue