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

Function _Worker_Subscribe_Handler

bitmap/pb.pb.go:6584–6590  ·  view source on GitHub ↗
(srv interface{}, stream grpc.ServerStream)

Source from the content-addressed store, hash-verified

6582}
6583
6584func _Worker_Subscribe_Handler(srv interface{}, stream grpc.ServerStream) error {
6585 m := new(SubscriptionRequest)
6586 if err := stream.RecvMsg(m); err != nil {
6587 return err
6588 }
6589 return srv.(WorkerServer).Subscribe(m, &workerSubscribeServer{stream})
6590}
6591
6592type Worker_SubscribeServer interface {
6593 Send(*pb.KVList) error

Callers

nothing calls this directly

Calls 1

SubscribeMethod · 0.65

Tested by

no test coverage detected