Skip to content

Use This Version? #22

@dyoder

Description

@dyoder

Debounce = ( f ) -> # ensure the first time always fires do ({ last, tolerance } = {}) -> tolerance = 500 #ms last = -tolerance ( args... ) -> current = performance.now() if tolerance <= ( current - last ) last = current f args...

View original context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    vistaCreated by Vista

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions