Skip to content

Add 'leading' argument to debounce util #40

@arturbien

Description

@arturbien

Currently if you debounce a function using the 'debounce' util, the function gets called with a delay of specified debounce time which is not always intended effect.

Adding leading argument to debounce function would allow to debounce a function that would be triggered immediately and then wait specified time before the next call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions