(ctx context.Context, opts ...grpc.CallOption)
| 75 | } |
| 76 | |
| 77 | func (c *workerServiceClient) RunServer(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ServerArgs, ServerStatus], error) { |
| 78 | cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) |
| 79 | stream, err := c.cc.NewStream(ctx, &WorkerService_ServiceDesc.Streams[0], WorkerService_RunServer_FullMethodName, cOpts...) |
| 80 | if err != nil { |
| 81 | return nil, err |
| 82 | } |
| 83 | x := &grpc.GenericClientStream[ServerArgs, ServerStatus]{ClientStream: stream} |
| 84 | return x, nil |
| 85 | } |
| 86 | |
| 87 | // This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. |
| 88 | type WorkerService_RunServerClient = grpc.BidiStreamingClient[ServerArgs, ServerStatus] |
nothing calls this directly
no test coverage detected