jina.peapods.runtimes.asyncio.grpc

class jina.peapods.runtimes.asyncio.grpc.GRPCRuntime(args)[source]

Bases: jina.peapods.runtimes.asyncio.base.AsyncNewLoopRuntime

Runtime for gRPC.

async async_setup()[source]

The async method to setup.

Create the gRPC server and expose the port for communication.

async async_cancel()[source]

The async method to stop server.

async async_run_forever()[source]

The async running of server.