No commit without a formatting follwup
This commit is contained in:
parent
6eb1a9e1ef
commit
411a11dd9d
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue