Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

useIsRestoring.ts

6 lines188 Bytes

1import { getIsRestoringContext } from './context.js'
2import type { Readable } from 'svelte/store'
3​
4export function useIsRestoring(): Readable<boolean> {
5 return getIsRestoringContext()
6}