Kind: Interface
Source: atloria-monorepo/apps/web/src/hooks/useOfflineSync.ts
Return value of the useOfflineSync hook
Properties
| Property | Type |
|---|---|
isOnline | boolean |
hasPendingUpdates | boolean |
pendingCount | number |
isSyncing | boolean |
error | `Error |
queueUpdate | (content: string) => void |
sync | () => Promise<void> |
clearPendingUpdates | () => void |
getPendingUpdates | () => PendingUpdate[] |
Was this page helpful?