DescriptionModify AsyncUtil.Aggregation to be able to keep calling in limited rate.
I changed behavior of AsyncUtil.Aggregation and changed its name to AsyncUtil.RateLimiter.
Previously, AsyncUtil.Aggregation aggregates consecutive calls as much as possible.
To keep update the UI, from now the closure will be called as much as possible keeping given minimum interval.
BUG=373627
TEST=manually change the window size continuously.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276703
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove opt_aggregate flag. #
Total comments: 2
Patch Set 3 : Seal the newed RateLimiter object. #
Messages
Total messages: 8 (0 generated)
|