=str #15707 name unnamed modules
* give name attribute to TickSource and nested modules * reflow module toString output * give toString to flow
This commit is contained in:
parent
3b9b95b0eb
commit
ee5ec72552
14 changed files with 48 additions and 36 deletions
|
|
@ -44,9 +44,9 @@ class StreamBuffersRateSpec extends AkkaSpec {
|
|||
|
||||
val zipper = b.add(ZipWith[Tick, Int, Int]((tick, count) => count))
|
||||
|
||||
Source(initialDelay = 3.second, interval = 3.second, Tick()) ~> zipper.in0
|
||||
Source.tick(initialDelay = 3.second, interval = 3.second, Tick()) ~> zipper.in0
|
||||
|
||||
Source(initialDelay = 1.second, interval = 1.second, "message!")
|
||||
Source.tick(initialDelay = 1.second, interval = 1.second, "message!")
|
||||
.conflate(seed = (_) => 1)((count, _) => count + 1) ~> zipper.in1
|
||||
|
||||
zipper.out ~> Sink.foreach(println)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue