UNPKG
@atlas-kitchen/adyen-web
Version:
latest (6.15.0)
6.15.0
docs.adyen.com/checkout
atlas-kitchen/adyen-web
@atlas-kitchen/adyen-web
/
dist
/
es
/
utils
/
debounce.js
3 lines
(2 loc)
•
200 B
JavaScript
View Raw
1
2
3
const
t=
300
,e=
(
t,e=
300
)=>
{
let
o;
return
function
(
...i
){
clearTimeout
(o),o=
setTimeout
((
()=>
t.
apply
(
this
,i)),e)}};
export
{t
as
DEFAULT_DEBOUNCE_TIME_MS
,e
as
debounce};
//# sourceMappingURL=debounce.js.map