* Computes the observer's current result for the resolved options, tracking property access unless * `notifyOnChangeProps` is set. * @returns The current query result.
()
| 68 | * @returns The current query result. |
| 69 | */ |
| 70 | function createResult() { |
| 71 | const result = observer.getOptimisticResult(resolvedOptions) |
| 72 | return !resolvedOptions.notifyOnChangeProps |
| 73 | ? observer.trackResult(result) |
| 74 | : result |
| 75 | } |
| 76 | const [query, update] = createRawRef( |
| 77 | // svelte-ignore state_referenced_locally - intentional, initial value |
| 78 | createResult(), |
no test coverage detected