Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • RESP

Hierarchy

  • ClientReadableStream

Index

Constructors

Methods

  • cancel(): void
  • Returns void

  • Parameters

    Returns ClientReadableStream<RESP>

  • Parameters

    • eventType: "status"
    • callback: (status: Status) => void

    Returns ClientReadableStream<RESP>

  • Parameters

    Returns ClientReadableStream<RESP>

  • Parameters

    • eventType: "data"
    • callback: (response: RESP) => void
        • (response: RESP): void
        • Parameters

          • response: RESP

          Returns void

    Returns ClientReadableStream<RESP>

  • Parameters

    • eventType: "end"
    • callback: () => void
        • (): void
        • Returns void

    Returns ClientReadableStream<RESP>

  • removeListener(eventType: "error", callback: (err: RpcError) => void): void
  • removeListener(eventType: "status", callback: (status: Status) => void): void
  • removeListener(eventType: "metadata", callback: (status: Metadata) => void): void
  • removeListener(eventType: "data", callback: (response: RESP) => void): void
  • removeListener(eventType: "end", callback: () => void): void
  • Parameters

    Returns void

  • Parameters

    • eventType: "status"
    • callback: (status: Status) => void

    Returns void

  • Parameters

    Returns void

  • Parameters

    • eventType: "data"
    • callback: (response: RESP) => void
        • (response: RESP): void
        • Parameters

          • response: RESP

          Returns void

    Returns void

  • Parameters

    • eventType: "end"
    • callback: () => void
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc