Module: webgis4u/util/promise/asyncDebounce

Methods

(static) asyncDebounce(func, wait)

Debounces a function call returning a promise
Parameters:
Name Type Description
func function Function that returns a promise
wait number The time in milliseconds to wait before the function is called
Source: