Merge pull request #1997 from leviding/patch-15
Fix typo error: delete a blank
This commit is contained in:
commit
4716d10dab
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ importance: 5
|
||||||
|
|
||||||
Create a "throttling" decorator `throttle(f, ms)` -- that returns a wrapper.
|
Create a "throttling" decorator `throttle(f, ms)` -- that returns a wrapper.
|
||||||
|
|
||||||
When it's called multiple times, it passes the call to `f` at maximum once per `ms` milliseconds.
|
When it's called multiple times, it passes the call to `f` at maximum once per `ms` milliseconds.
|
||||||
|
|
||||||
The difference with debounce is that it's completely different decorator:
|
The difference with debounce is that it's completely different decorator:
|
||||||
- `debounce` runs the function once after the "cooldown" period. Good for processing the final result.
|
- `debounce` runs the function once after the "cooldown" period. Good for processing the final result.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue