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
;
}>
Member | Type |
---|---|
connected | boolean |
dataFlowStatus | { |
downloading : boolean ; | |
uploading : boolean ; | |
} | |
dataFlowStatus.downloading | boolean |
dataFlowStatus.uploading | boolean |
hasSynced | boolean |
lastSyncedAt | {} |
getMessage | string |
isEqual | boolean |
toJSON | SyncStatusOptions |
Deprecated
Use useStatus instead.