C
de
S
pace
Explore
Log In
Explore
Sign Up
Log In
emerykim83
22.05.2026 11:31
0
Backup utility #61
Rewrote old code
algo.py
def debounce(fn, delay): import time last = [0.0] def wrapper(*args): now = time.time() if now - last[0] >= delay: last[0] = now return fn(*args) return wrapper
Idle
Try It
Clear
Log in
to leave a comment
Are you sure you want to delete this post?
Delete
Cancel