Interface ThrottledFunctionExtras

interface ThrottledFunctionExtras {
    cancel: () => void;
    flush: () => void;
}

Properties

Properties

cancel: () => void

Stops any planned calls (and resets the time array progress)

flush: () => void

Immediately runs planned call.