Files
scratch-vm/test/unit
Eric Rosenbaum 39be6d873c Rate-limiting with a token bucket for the WeDo extension (#1540)
* Initial version of token bucket

* Add rateLimiter util

* Remove check for motor.isOn in stopAllMotors

* Fix unit test

* Fix unit test with stubbed timer, and cleanup

* Add comment

* Reduce WeDo rate limit to 20 sends/sec

* Move rate limit into a constant

* Stop button stops motors and tone even if rate limit exceeded
2018-08-29 17:37:59 -04:00
..
2018-03-31 13:41:39 -03:00
2017-08-26 13:24:10 -04:00
2017-12-13 15:37:44 -05:00
2017-05-30 10:24:09 -04:00
2018-04-20 10:29:29 -04:00
2018-04-25 12:26:52 -04:00
2018-01-26 17:13:01 -04:00
2017-08-26 13:24:10 -04:00