コンテンツにスキップ
日本語

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