Skip to main content

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; }>

MemberType
connectedboolean
dataFlowStatus{
downloading: boolean;
uploading: boolean;
}
dataFlowStatus.downloadingboolean
dataFlowStatus.uploadingboolean
hasSyncedboolean
lastSyncedAt{}
getMessagestring
isEqualboolean
toJSONSyncStatusOptions

Deprecated

Use useStatus instead.