DOC: Formatting issues, see #2723
(cherry picked from commit 15abee84875cdb534056986b9172a38b57d24d92)
This commit is contained in:
parent
6a348e3c76
commit
b06b0fa087
13 changed files with 56 additions and 30 deletions
|
|
@ -46,7 +46,8 @@ class TimerBasedThrottlerSpec extends TestKit(ActorSystem("TimerBasedThrottlerSp
|
|||
}
|
||||
}))
|
||||
// The throttler for this example, setting the rate
|
||||
val throttler = system.actorOf(Props(new TimerBasedThrottler(3 msgsPer (1.second.dilated))))
|
||||
val throttler = system.actorOf(Props(new TimerBasedThrottler(
|
||||
3 msgsPer (1.second.dilated))))
|
||||
// Set the target
|
||||
throttler ! SetTarget(Some(printer))
|
||||
// These three messages will be sent to the echoer immediately
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue