dyna-debounce
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

About

Simpler API for the lovely lodash.debounce.

Also, includes only the debounce and not the whole lodash.

Written in TypeScript, runs everywhere.

dynaDebounce

dynaDebounce = (func,           // the function to call
                timeout,        // timeout in ms
                config?: IDynaDebounceConfig {
                    leading?: boolean; // default: true       Set true to trigger on first call always.
                    maxWait?: number;  // default: undefined  Set the timeout for max wait, to call it anyway after this timeout.
                }
) => Function

Reference

lodash.debounce

/dyna-debounce/

    Package Sidebar

    Install

    npm i dyna-debounce

    Weekly Downloads

    3

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    38.7 kB

    Total Files

    54

    Last publish

    Collaborators

    • dennisat