scratch-vm/test
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
..
fixtures Merge pull request #1528 from kchadha/fix-comment-import 2018-08-28 16:04:53 -04:00
integration Merge pull request #1528 from kchadha/fix-comment-import 2018-08-28 16:04:53 -04:00
unit Rate-limiting with a token bucket for the WeDo extension (#1540) 2018-08-29 17:37:59 -04:00
.eslintrc.js All linting other than console statements 2016-10-23 22:20:29 -04:00