Home > Back-end >  How about gRPC server process synchronization RPC and asynchronous RPC interface at the same time
How about gRPC server process synchronization RPC and asynchronous RPC interface at the same time

Time:09-22

Hello, excuse me GRPC synchronous RPC and asynchronous RPC interface can be realized in the same service?
Watch the source code, the asynchronous is registered builder. RegisterAsyncService (& amp; Service); Through a cq complete queue to deal with, so how I synchronous interface to add?
Want to open a thread and open a synchronous service?
  • Related