Skip to content

UseOfflineSyncReturn

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/web/src/hooks/useOfflineSync.ts

Return value of the useOfflineSync hook

Properties

PropertyType
isOnlineboolean
hasPendingUpdatesboolean
pendingCountnumber
isSyncingboolean
error`Error
queueUpdate(content: string) => void
sync() => Promise<void>
clearPendingUpdates() => void
getPendingUpdates() => PendingUpdate[]

Was this page helpful?

Download as PDF