Member Junction
    Preparing search index...
    interface PushCallbacks {
        onConfirm?: (message: string) => Promise<boolean>;
        onError?: (message: string) => void;
        onLog?: (message: string) => void;
        onProgress?: (message: string) => void;
        onRecordError?: (detail: PushRecordError) => void;
        onSuccess?: (message: string, changed?: boolean) => void;
        onWarn?: (message: string) => void;
    }
    Index

    Properties

    onConfirm?: (message: string) => Promise<boolean>
    onError?: (message: string) => void
    onLog?: (message: string) => void
    onProgress?: (message: string) => void
    onRecordError?: (detail: PushRecordError) => void

    Structured per-record failure, fired once per failed record (in addition to the human-readable PushCallbacks.onError lines). Use this to build a machine-readable error list.

    onSuccess?: (message: string, changed?: boolean) => void

    Called when a directory finishes. changed is true when the directory had any create/update/delete/error, letting the UI highlight it vs. dim a pure no-op.

    onWarn?: (message: string) => void