import { debounce } from "lodash"; code example Example: lodash debounce _.debounce(func, [wait=0], [options={}])