summaryrefslogtreecommitdiff
path: root/AK/String.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-07-18 20:00:03 +0100
committerLinus Groh <mail@linusgroh.de>2022-07-19 11:10:02 +0100
commitcdcdc095df47c30d140d9d612390981d673141e9 (patch)
treee1b8188a645aafcfa869bbfdbc5806fbf8a1fb6c /AK/String.cpp
parentf96e8e97e6470fe03393826f184737a918be0980 (diff)
downloadserenity-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