debounce
debounce copied to clipboard
A debouncer written in Go.
Results
2
debounce issues
Sort by
recently updated
recently updated
newest added
Example: ```go d := New(1 * time.Second) for i := 0; i < 10; i++ { d(func () { println("called") }) time.Sleep(900 * time.Millisecond) } ``` Expected: "called" should be...
thanks for this nice lib, I want to use it in a database batch query scenario: e.g. the func might be called continuously, I want to debounce at 100ms interval,...