There are several methods. One is restriction. If the former one does not return, the latter one will not be executed. The other is to request a limit for a certain time. Also, when the next request is made, immediately close the previous request (jQuery can do this, but it won’t work after the request is completed)
Please refer to
There are several methods. One is restriction. If the former one does not return, the latter one will not be executed. The other is to request a limit for a certain time. Also, when the next request is made, immediately close the previous request (jQuery can do this, but it won’t work after the request is completed)