(callback: T)
| 188 | |
| 189 | const debounce = |
| 190 | <T extends Function>(callback: T) => |
| 191 | (wait: number) => { |
| 192 | clearTimeout(timer); |
| 193 | timer = setTimeout(callback, wait); |
| 194 | }; |
| 195 | |
| 196 | const _setValid = async (shouldUpdateValid?: boolean) => { |
| 197 | if (_state.keepIsValid) { |
no outgoing calls
no test coverage detected