(result: Item)
| 644 | } |
| 645 | } |
| 646 | const offer = (result: Item): void => { |
| 647 | if (failed !== undefined) return |
| 648 | if ( |
| 649 | last !== undefined && queryCore.sameResult(result, last) |
| 650 | ) return |
| 651 | last = result |
| 652 | pending.push(result) |
| 653 | wake() |
| 654 | } |
| 655 | const handle = cache.watch( |
| 656 | def, |
| 657 | args, |
no test coverage detected