sindresorhus/debounce

can not call my func right now?

zhiyongsun opened this issue · 2 comments

can not call my func right now, at first time?

That’s correct, see test « should not execute prior to timeout ». Maybe you are looking for throttle instead of debounce?

@vendethiel yeah, you are right. thanks