Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utilities/debounce

Index

Functions

Functions

  • default<T>(func: T, ms: number): T
  • name

    debounce

    description

    Throttles a function by the provided milliseconds

    Type parameters

    • T: Function

    Parameters

    • func: T

      The function to debounce

    • ms: number

      The milliseconds to debounce the function by

    Returns T

    Returns an instance of the function wrapped in a debounce

Generated using TypeDoc