Represents the state of the synchronization process.

interface SynchronizationState {
isActive: boolean;
progress: SyncProgress | null;
report: SyncReport | null;
error: string | null;
abortController: AbortController | null;
}
interface SynchronizationState {
    isActive: boolean;
    progress: null | SyncProgress;
    report: null | SyncReport;
    error: null | string;
    abortController: null | AbortController;
}

Properties

isActive: boolean

Indicates if a synchronization is currently active.

progress: null | SyncProgress

The current progress of the synchronization, or null if not started.

report: null | SyncReport

The final report of the synchronization, or null if not completed.

error: null | string

Any error message encountered during synchronization, or null if none.

abortController: null | AbortController

The AbortController used to cancel the sync, or null if not active.