Type alias StreamCodeToReason

StreamCodeToReason: ((type: "read" | "write", code: number) => any)

Type declaration

    • (type: "read" | "write", code: number): any
    • Maps code to a reason. 0 usually indicates unknown/default reason.

      Parameters

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

      Returns any

Generated using TypeDoc