- Preparing search index...
- The search index is not available
billd-monorepo
- throttle(fn: Function, interval: number, trailing?: boolean): (() => Promise<unknown>)
-
Parameters
-
fn: Function
-
interval: number
-
trailing: boolean = false
Returns (() => Promise<unknown>)
-
- (): Promise<unknown>
-
Returns Promise<unknown>
Description
节流函数(Promise)
Returns