Type alias ValveCallback

ValveCallback: ((this, reason) => void)

Type declaration

    • (this, reason): void
    • Function called once a valve is closed.

      Parameters

      • this: void
      • reason: unknown

        Reason why the value has been closed.

        Either undefined if the value has been closed normally, or the reason passed to the close method if the value has been closed abruptly.

      Returns void

Generated using TypeDoc