You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Wrap the passed-in function callback in a callback function that "throttles" (puts a limit on) the number of calls that can be made to function in a given period of time (ms)
// CASE 1: In cooldown mode and we already have a function waiting to be executed, so do nothing
38
+
// CASE 1: In cooldown mode and we have a function waiting to be executed, so do nothing
39
39
if(isOnCooldown&&isCallQueued)return;
40
40
41
-
// CASE 2: In cooldown mode, but we have no functions waiting to be executed, so just make note that we now have a call waiting to be executed and return
41
+
// CASE 2: In cooldown mode, but we have no functions waiting to be executed, so just make note that we now have a callback waiting to be executed and then return
0 commit comments