Repository navigation
Simplify API and implementation
This is mainly a fix for #1.
But with that, the API is slightly changed. New now simply returns only a function:
debounced := debounce.New(100 * time.Millisecond)This is mainly a fix for #1.
But with that, the API is slightly changed. New now simply returns only a function:
debounced := debounce.New(100 * time.Millisecond)