File

src/app/core/ui/sync-status/background-process-state.interface.ts

Description

Describe a task running in the background, such as index creation.

Index

Properties

Properties

description
description: string
Type : string
Optional

additional optional details explaining the process

details
details: string
Type : string
Optional

specific details or context of the process. this can serve as a "subtitle" for a common title of several similar processes also

error
error: any
Type : any
Optional

if the process has failed, contains the error details; otherwise undefined

pending
pending: boolean
Type : boolean

whether the process is still running

title
title: string
Type : string

unique name of the process as displayed to user

export interface BackgroundProcessState {
  /** unique name of the process as displayed to user */
  title: string;

  /**
   * specific details or context of the process.
   * this can serve as a "subtitle" for a common title of several similar processes also
   */
  details?: string;

  /** additional optional details explaining the process */
  description?: string;

  /** whether the process is still running */
  pending: boolean;

  /** if the process has failed, contains the error details; otherwise undefined */
  error?: any;
}

results matching ""

    No results matching ""