asyncThrottle
Last updated
Last updated
• Docs
/ / asyncThrottle
asyncThrottle<
T
>(fn
,delay
?): (...args
) =>Promise
<T
>
Throttle an async function call
Within the delay interval, the same promise is returned
T
fn
(...x
) => Promise
<T
>
delay
?
number
Function
...args
any
[]
Promise
<T
>