=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
|
|
@ -66,7 +66,7 @@ class StreamTestKitDocSpec extends AkkaSpec {
|
|||
"sink actor ref" in {
|
||||
//#sink-actorref
|
||||
case object Tick
|
||||
val sourceUnderTest = Source(0.seconds, 200.millis, Tick)
|
||||
val sourceUnderTest = Source.tick(0.seconds, 200.millis, Tick)
|
||||
|
||||
val probe = TestProbe()
|
||||
val cancellable = sourceUnderTest.to(Sink.actorRef(probe.ref, "completed")).run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue