Class ClientReadableStream<RESP>
Methods
cancel
Returns void
on
Parameters
eventType: "error"
callback: (err: RpcError) => void
Parameters
eventType: "status"
callback: (status: Status) => void
Parameters
eventType: "metadata"
callback: (status: Metadata) => void
Parameters
eventType: "data"
callback: (response: RESP) => void
Parameters
eventType: "end"
callback: () => void
removeListener
- 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
eventType: "error"
callback: (err: RpcError) => void
Returns void
Parameters
eventType: "status"
callback: (status: Status) => void
Returns void
Parameters
eventType: "metadata"
callback: (status: Metadata) => void
Returns void
Parameters
eventType: "data"
callback: (response: RESP) => void
Returns void
Parameters
eventType: "end"
callback: () => void
Returns void