跳转到内容
简体中文

buildGrpcMethodImplementation

此内容尚不支持你的语言。

buildGrpcMethodImplementation(methodName, handler): unknown

Defined in: src/io/broker/GrpcServerActor.ts:270

Turn one { methodName, handler } pair into the grpc-js service implementation function for that method.

A free function, for the same reason grpcHealthCheckImplementation is one: it touches no actor state, and this way the whole call → handler → reply path of all four call classes is exercisable with plain fakes — no gRPC module, no bound socket, no actor system.

string

GrpcHandler

unknown