diff options
author | MacDue <macdue@dueutil.tech> | 2022-07-18 20:00:03 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-19 11:10:02 +0100 |
commit | cdcdc095df47c30d140d9d612390981d673141e9 (patch) | |
tree | e1b8188a645aafcfa869bbfdbc5806fbf8a1fb6c /AK/String.cpp | |
parent | f96e8e97e6470fe03393826f184737a918be0980 (diff) | |
download | serenity-cdcdc095df47c30d140d9d612390981d673141e9.zip |
LibCore: Add Core::debounce(function, timeout)
This is a simple helper to debounce a function call, such as
an event handler. It avoids the function being called until
the event as settled down (i.e. after the timeout).
Diffstat (limited to 'AK/String.cpp')
0 files changed, 0 insertions, 0 deletions