Public Member Functions | |
AsyncIterable[ResponseType] | __aiter__ (self) |
Union[EOFType, ResponseType] | read (self) |
![]() | |
grpc.StatusCode | code (self) |
str | details (self) |
Metadata | initial_metadata (self) |
Metadata | trailing_metadata (self) |
None | wait_for_connection (self) |
![]() | |
None | add_done_callback (self, DoneCallbackType callback) |
bool | cancel (self) |
bool | cancelled (self) |
bool | done (self) |
Optional[float] | time_remaining (self) |
Definition at line 154 of file _base_call.py.
AsyncIterable[ResponseType] grpc.aio._base_call.UnaryStreamCall.__aiter__ | ( | self | ) |
Returns the async iterable representation that yields messages. Under the hood, it is calling the "read" method. Returns: An async iterable object that yields messages.
Definition at line 157 of file _base_call.py.
Union[EOFType, ResponseType] grpc.aio._base_call.UnaryStreamCall.read | ( | self | ) |
Reads one message from the stream. Read operations must be serialized when called from multiple coroutines. Returns: A response message, or an `grpc.aio.EOF` to indicate the end of the stream.
Reimplemented in grpc.aio._interceptor.UnaryStreamCallResponseIterator.
Definition at line 167 of file _base_call.py.