Options
All
  • Public
  • Public/Protected
  • All
Menu

Module func/throttle

Index

Functions

Functions

Const throttle

0.0.55 provide
  • throttle<T>(func: T, wait?: number, options?: ThrottleSettings): DebouncedFunc<T>
  • 赋值lodash的throttle

    see

    throttle

    Type parameters

    • T: (...args: any) => any

    Parameters

    • func: T
    • Optional wait: number
    • Optional options: ThrottleSettings

    Returns DebouncedFunc<T>