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
Copy file name to clipboardExpand all lines: libs/hooks/debounce/README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,16 @@ Simply wrap your hook with the debounce hook by passing it a constructor arg, an
26
26
In the example below, we wrap the "after" stage of a logging hook so that it only logs a maximum of once a minute for each flag key, no matter how many times that flag is evaluated.
27
27
28
28
```ts
29
-
// a function defining the key for the hook stage; if this matches a recent key, the hook execution for this stage will be bypassed
0 commit comments