Throttlebeam.Debounce (throttlebeam v0.1.0)

Copy Markdown

Debounce a function call by key. Every call for the same key resets the delay, the function only runs once calls for that key stop arriving for the full delay period.

Summary

Functions

call(key, delay_ms, fun)