Control rate/speed of multiple function call
let timer = null;
handleFunctionCall() {
clearTimeout(timer);
timer = setTimeout(async () => {
await someAsyncMethod();
clearTimeout(timer);
}, 500); // change timeout as per the need
}
// when yu need to call someAsyncMethod()
handleFunctionCall();