Skip to content

API 参考 / @142vip/grpc / ServiceMethodFuncImpl

类型别名: ServiceMethodFuncImpl() ​

ServiceMethodFuncImpl = <RequestType, ResponseType>(requestData) => Promise<ResponseType>

定义于: enum/grpc.interface.ts:42

GRPC方法实现

类型参数 ​

RequestType ​

RequestType = any

ResponseType ​

ResponseType = any

参数 ​

requestData ​

RequestType

返回 ​

Promise<ResponseType>