I just need to call it and pass the function that I want debounced, and a time in milliseconds. Once that is done a debounced function will then be returned, once called the function will be invoked once the given about of time passes.
A _.debounce method comes with a flush method that can be used to call the method at once.
The _.debounce method in lodash can be useful when making some methods that need to do something every once in a while, but also need to be check right away. The first and foremost thing that comes to mind is some kind of message system.