MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / CloseAndRecv

Method CloseAndRecv

bitmap/pb.pb.go:5535–5544  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5533}
5534
5535func (x *raftRaftMessageClient) CloseAndRecv() (*api.Payload, error) {
5536 if err := x.ClientStream.CloseSend(); err != nil {
5537 return nil, err
5538 }
5539 m := new(api.Payload)
5540 if err := x.ClientStream.RecvMsg(m); err != nil {
5541 return nil, err
5542 }
5543 return m, nil
5544}
5545
5546func (c *raftClient) JoinCluster(ctx context.Context, in *RaftContext, opts ...grpc.CallOption) (*api.Payload, error) {
5547 out := new(api.Payload)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected