waitForPublishCompletion | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function waitForPublishCompletion

    • Wait for publication to complete

      Parameters

      • startingPoint: null | string | number | WHFSObject

        Folder or file we're waiting to complete republishing (recursively)

      • options: {
            acceptErrors?: boolean;
            deadline?: WaitPeriod;
            expectErrorsFor?: number[];
            reportFrequencyMs?: number;
            skipEventCompletion?: boolean;
        } = {}

      Returns Promise<boolean>

      True if publication completed, false on timeout