(
defaultedOptions:
| DefaultedQueryObserverOptions<any, any, any, any, any>
| undefined,
result: QueryObserverResult<any, any>,
)
| 52 | ) => result.isLoading && result.isFetching && !isRestoring |
| 53 | |
| 54 | export const shouldSuspend = ( |
| 55 | defaultedOptions: |
| 56 | | DefaultedQueryObserverOptions<any, any, any, any, any> |
| 57 | | undefined, |
| 58 | result: QueryObserverResult<any, any>, |
| 59 | ) => defaultedOptions?.suspense && result.isPending |
| 60 | |
| 61 | export const fetchOptimistic = < |
| 62 | TQueryFnData, |
no outgoing calls
no test coverage detected
searching dependent graphs…