(callback: T)
| 204 | |
| 205 | const debounce = |
| 206 | <T extends Function>(callback: T) => |
| 207 | (wait: number) => { |
| 208 | clearTimeout(timer); |
| 209 | timer = setTimeout(callback, wait); |
| 210 | }; |
| 211 | |
| 212 | const _setValid = async (shouldUpdateValid?: boolean) => { |
| 213 | if (_state.keepIsValid) { |
no outgoing calls
no test coverage detected
searching dependent graphs…