CallOptions
↳ Options
Optional
leading: boolean
Controls if the function should be invoked on the leading edge of the timeout.
Optional
maxWait: number
The maximum time the given function is allowed to be delayed before it’s invoked.
Optional
trailing: boolean
Controls if the function should be invoked on the trailing edge of the timeout.