Interface Faultily

An indicator of failed supply cut off.

Hierarchy

Accessors

  • get error(): unknown
  • An error indicating supply failure reason.

    Contains value only when failed flag is true. Contains undefined value otherwise.

    Returns unknown

  • get failed(): true
  • Whether the supply has failed.

    When true, the error property contains a failure reason.

    Returns true

  • get isOff(): this
  • A reference to itself.

    Use to detect a supply cut off indicator.

    Returns this

  • get result(): undefined
  • A result of successfully completed supply.

    Contains value only when failed flag is false. Contains undefined otherwise.

    Returns undefined

Methods

  • Whether indicated cut off happened at the same time as another one.

    The supplies depending on the one cut off initially, considered cut off at the same time.

    Parameters

    • another: SupplyIsOff<unknown>

      Another cut off indicator.

    Returns boolean

Generated using TypeDoc