# UseOfflineSyncReturn

**Kind:** Interface

**Source:** [`atloria-monorepo/apps/web/src/hooks/useOfflineSync.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/hooks/useOfflineSync.ts#L45)

Return value of the useOfflineSync hook

## Properties

| Property | Type |
|---|---|
| `isOnline` | `boolean` |
| `hasPendingUpdates` | `boolean` |
| `pendingCount` | `number` |
| `isSyncing` | `boolean` |
| `error` | `Error | null` |
| `queueUpdate` | `(content: string) => void` |
| `sync` | `() => Promise<void>` |
| `clearPendingUpdates` | `() => void` |
| `getPendingUpdates` | `() => PendingUpdate[]` |
