We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e5b0f commit 47789bcCopy full SHA for 47789bc
libs/hooks/debounce/README.md
@@ -27,7 +27,7 @@ In the example below, we wrap a logging hook so that it only logs a maximum of o
27
28
```ts
29
// a function defining the key for the hook stage
30
-const supplier = (flagKey: string, context: EvaluationContext, details: EvaluationDetails<T>) => flagKey;
+const supplier = (flagKey: string, context: EvaluationContext, details: EvaluationDetails<string>) => flagKey;
31
32
const hook = new DebounceHook<string>(loggingHook, {
33
afterCacheKeySupplier: supplier, // if the key calculated by the supplier exists in the cache, the wrapped hook's stage will not run
0 commit comments