Update to a working version of Scalariform
This commit is contained in:
parent
cae070bd93
commit
c66ce62d63
616 changed files with 5966 additions and 5436 deletions
|
|
@ -21,7 +21,7 @@ class FusingSpec extends AkkaSpec {
|
|||
implicit val materializer = ActorMaterializer()
|
||||
|
||||
def graph(async: Boolean) =
|
||||
Source.unfold(1)(x ⇒ Some(x -> x)).filter(_ % 2 == 1)
|
||||
Source.unfold(1)(x ⇒ Some(x → x)).filter(_ % 2 == 1)
|
||||
.alsoTo(Flow[Int].fold(0)(_ + _).to(Sink.head.named("otherSink")).addAttributes(if (async) Attributes.asyncBoundary else Attributes.none))
|
||||
.via(Flow[Int].fold(1)(_ + _).named("mainSink"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue