Tracks the current data source status and emits updates when the status changes.

Hierarchy

  • DataSourceStatusManager

Properties

Methods

  • Reports a datasource error to this manager. Since the DataSourceStatus includes error information, it is possible that that a DataSourceStatus update is emitted with the same DataSourceState.

    Parameters

    • kind: DataSourceErrorKind

      of the error

    • message: string

      for the error

    • Optional statusCode: number

      of the error if there was one

      Optional
    • Optional recoverable: boolean

      to indicate that the error is anticipated to be recoverable

      Optional

    Returns void

  • Requests the manager move to the provided state. This request may be ignored if the current state cannot transition to the requested state.

    Parameters

    Returns void

Generated using TypeDoc