goldies
    Preparing search index...

    Interface ThrottleOptions

    Options for throttle.

    interface ThrottleOptions {
        leading?: boolean;
        trailing?: boolean;
    }
    Index
    leading?: boolean

    Call the function right away when it isn't waiting. Defaults to true.

    trailing?: boolean

    Make one more call, with the latest arguments, at the end of the wait if it was called during it. Defaults to true.