Afshin T. Darian
|
f3424fdc82
Update poll tests to reflect when promise behavior change.
|
6 years ago |
Afshin T. Darian
|
98b9487054
Respect poll interval after poll's `when` promise resolves.
|
6 years ago |
Afshin T. Darian
|
c37dff35bf
Update doc strings.
|
6 years ago |
Afshin T. Darian
|
bd2ca9335b
Add rate limiter stop tests.
|
6 years ago |
Afshin T. Darian
|
5b14fbf094
Fix RateLimiter#stop().
|
6 years ago |
Afshin T. Darian
|
a184cbd450
Update rate limiter tests.
|
6 years ago |
Afshin T. Darian
|
f3683a7984
Test debouncing and throttling.
|
6 years ago |
Afshin T. Darian
|
97adb2f7f6
Simplify poll tests now that Poll#schedule is public.
|
6 years ago |
Afshin T. Darian
|
5bc5041099
Support passing in NEVER to sleep function.
|
6 years ago |
Afshin T. Darian
|
5007c3ef30
Add support for returning a promise that always resolves or rejects when the factory does.
|
6 years ago |
Afshin T. Darian
|
e6dbb80ed7
Update doc strings and use RateLimiter#stop() in constructor.
|
6 years ago |
Afshin T. Darian
|
be985f0779
Update tests.
|
6 years ago |
Afshin T. Darian
|
6f469ae430
Update apputils.
|
6 years ago |
Afshin T. Darian
|
6f250660c1
Change Regulator to RateLimiter and export Debouncer, Throttler, and RateLimiter (abstract class).
|
6 years ago |
Afshin T. Darian
|
cdc37224c7
Make Poll#schedule public so polls can be composed.
|
6 years ago |
Afshin T. Darian
|
288a3ac109
Add a rate limiter interface.
|
6 years ago |
Afshin T. Darian
|
93b84267f4
Update debounce test.
|
6 years ago |
Afshin T. Darian
|
31d0486ea0
Throttle splash screen recover and debounce workspace saving.
|
6 years ago |
Afshin T. Darian
|
015285bebd
Switch back to a Poll sub-class to support both `throttle()` and `debounce()`.
|
6 years ago |
Afshin T. Darian
|
d65e5e3bc1
Make `NEVER` and `IMMEDIATE` Poll class statics.
|
6 years ago |
Afshin T. Darian
|
19352258fd
Fix file header.
|
6 years ago |
Afshin T. Darian
|
2a8dcf4b31
Test debounce function.
|
6 years ago |
Afshin T. Darian
|
4090d91d65
Fix debounce function to always return a viable promise.
|
6 years ago |
Afshin T. Darian
|
eda0d6e885
Update state database docstrings.
|
6 years ago |
Afshin T. Darian
|
9570ca9a23
Resove the debounce function with the same return type as the function being debounced.
|
6 years ago |
Afshin T. Darian
|
ef5c19eb62
Create standalone debounce() function.
|
6 years ago |
Afshin T. Darian
|
537a13da34
Use better source map for filebrowser example.
|
6 years ago |
Afshin T. Darian
|
b0816dd343
Make sure terminal ready rejection is caught at least once.
|
6 years ago |
Afshin T. Darian
|
197a0f8995
Update poll tests to adhere to new types without modifying their logic.
|
6 years ago |
Afshin T. Darian
|
fd68181f2d
Allow IPoll.Phase to be extended with additional tick types.
|
6 years ago |