콘텐츠로 이동
한국어

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