Anti – shake: Perform the action after the action occurs for a certain period of time. If the action is triggered again within this period of time, wait for a period of time before the action is triggered.
Throttling: the action is executed after a certain period of time. If the action is triggered again within this period of time, the action will be ignored until the execution is complete. If the action is triggered, the response will be repeated.