buildGrpcMethodImplementation
Esta página aún no está disponible en tu idioma.
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.
Parameters
Section titled “Parameters”methodName
Section titled “methodName”string
handler
Section titled “handler”Returns
Section titled “Returns”unknown
