- Preparing search index...
- The search index is not available
haveno-ts
Class ClientReadableStream<RESP>
Methods
cancel
- cancel(): void
-
Returns void
on
- on(eventType: "error", callback: ((err: RpcError) => void)): ClientReadableStream<RESP>
-
Parameters
-
eventType: "error"
-
callback: ((err: RpcError) => void)
- on(eventType: "status", callback: ((status: Status) => void)): ClientReadableStream<RESP>
-
Parameters
-
eventType: "status"
-
callback: ((status: Status) => void)
-
- (status: Status): void
-
Returns void
- on(eventType: "metadata", callback: ((status: Metadata) => void)): ClientReadableStream<RESP>
-
Parameters
-
eventType: "metadata"
-
callback: ((status: Metadata) => void)
- on(eventType: "data", callback: ((response: RESP) => void)): ClientReadableStream<RESP>
-
Parameters
-
eventType: "data"
-
callback: ((response: RESP) => void)
-
- (response: RESP): void
-
Returns void
- on(eventType: "end", callback: (() => void)): ClientReadableStream<RESP>
-
Parameters
-
eventType: "end"
-
callback: (() => void)
removeListener
- removeListener(eventType: "error", callback: ((err: RpcError) => void)): void
-
Parameters
-
eventType: "error"
-
callback: ((err: RpcError) => void)
Returns void
- removeListener(eventType: "status", callback: ((status: Status) => void)): void
-
Parameters
-
eventType: "status"
-
callback: ((status: Status) => void)
-
- (status: Status): void
-
Returns void
Returns void
- removeListener(eventType: "metadata", callback: ((status: Metadata) => void)): void
-
Parameters
-
eventType: "metadata"
-
callback: ((status: Metadata) => void)
Returns void
- removeListener(eventType: "data", callback: ((response: RESP) => void)): void
-
Parameters
-
eventType: "data"
-
callback: ((response: RESP) => void)
-
- (response: RESP): void
-
Returns void
Returns void
- removeListener(eventType: "end", callback: (() => void)): void
-
Parameters
-
eventType: "end"
-
callback: (() => void)
Returns void