Type alias StreamCodeToReason

StreamCodeToReason: ((type, code) => any)

Type declaration

    • (type, code): any
    • Maps code to a reason. 0 usually indicates unknown/default reason.

      Parameters

      • type: "read" | "write"
      • code: number

      Returns any

Generated using TypeDoc