usePowerSyncStatus()
function usePowerSyncStatus(): Ref<{
connected: boolean;
dataFlowStatus: {
downloading: boolean;
uploading: boolean;
};
hasSynced: boolean;
lastSyncedAt: {};
getMessage: string;
isEqual: boolean;
toJSON: SyncStatusOptions;
}>
Returns
Ref
<{
connected
: boolean
;
dataFlowStatus
: {
downloading
: boolean
;
uploading
: boolean
;
};
hasSynced
: boolean
;
lastSyncedAt
: {};
getMessage
: string
;
isEqual
: boolean
;
toJSON
: SyncStatusOptions
;
}>
Deprecated
Use useStatus instead.