Merge pull request #1313 from paroche/patch-14

Update task.md
This commit is contained in:
Ilya Kantor 2019-09-03 13:22:29 +03:00 committed by GitHub
commit b5b86f4f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ importance: 5
The result of `debounce(f, ms)` decorator should be a wrapper that passes the call to `f` at maximum once per `ms` milliseconds.
In other words, when we call a "debounced" function, it guarantees that all other future in the closest `ms` milliseconds will be ignored.
In other words, when we call a "debounced" function, it guarantees that all future calls to the function made less than `ms` milliseconds after the previous call will be ignored.
For instance: