• 节流装饰器

    Parameters

    • Rest ...args: [delay: number, invalidCB: ((interval: number) => void)]

    Returns ((target: any, _propertyKey: string, descriptor: PropertyDescriptor) => void)

      • (target: any, _propertyKey: string, descriptor: PropertyDescriptor): void
      • Parameters

        • target: any
        • _propertyKey: string
        • descriptor: PropertyDescriptor

        Returns void