Startup: {
    applyUpdates(wait: boolean, timeout?: number): Promise<boolean>;
    checkForUpdates(): Promise<Updates>;
}

Type declaration

  • applyUpdates:function
    • Apply updates

      Parameters

      • wait: boolean

        wait for the operation to complete or not

      • Optional timeout: number

        timeout in milliseconds

      Returns Promise<boolean>

      true if successful, false otherwise

  • checkForUpdates:function
    • Check for updates that need applying

      Returns Promise<Updates>

      true if there are updates that need to be applied, false otherwise