No commit without a formatting follwup

This commit is contained in:
Ignasi Marimon-Clos 2020-06-09 15:55:43 +02:00
parent 6eb1a9e1ef
commit 411a11dd9d
2 changed files with 2 additions and 5 deletions

View file

@ -30,8 +30,7 @@ public class Throttle {
int framesPerSecond = 24;
Source<Frame, NotUsed> videoThrottling =
frameSource.throttle(
framesPerSecond, Duration.ofSeconds(1));
frameSource.throttle(framesPerSecond, Duration.ofSeconds(1));
// serialize `Frame` and send over the network.
// #throttle

View file

@ -26,9 +26,7 @@ object Throttle extends App {
val framesPerSecond = 24
// val frameSource: Source[Frame,_]
val videoThrottling = frameSource.throttle(
framesPerSecond,
1.second)
val videoThrottling = frameSource.throttle(framesPerSecond, 1.second)
// serialize `Frame` and send over the network.
// #throttle