SendMsg is generally called by generated code. On error, SendMsg aborts the stream. If the error was generated by the client, the status is returned directly; otherwise, io.EOF is returned and the status of the stream may be discovered using RecvMsg. SendMsg blocks until: - There is sufficient flow
(m any)
| 93 | // to call SendMsg on the same stream in different goroutines. It is also |
| 94 | // not safe to call CloseSend concurrently with SendMsg. |
| 95 | SendMsg(m any) error |
| 96 | // RecvMsg blocks until it receives a message into m or the stream is |
| 97 | // done. It returns io.EOF when the stream completes successfully. On |
| 98 | // any other error, the stream is aborted and the error contains the RPC |
no outgoing calls