Skip to content

garganscript/purescript-debouncing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-debouncing

PureScript bindings for debouncing.

There are 2 functions: debounce (wait predefined amount of time, before calling the function) or throttle (delay function calling to intervals of defined length).

Additionally, there is throttleWithDebounceAtEnd: since the throttle function fires at specific intervals and might not call the function with last provided argument, we have this function which makes sure the last argument is called as well.