function GrpcPlugin
GrpcPlugin(options?: GrpcPluginOptions): IPlugin

Creates the gRPC plugin.

register() is async because the Connect runtime is loaded through a real lazy import() (AI_GUIDELINES ยง12.2). The kernel now resolves IGrpcService from the service registry and dispatches gRPC after the middleware pipeline, so adapter.setRpcHandler is no longer called.

Parameters

optional
options: GrpcPluginOptions

Return Type

IPlugin

Usage

import { GrpcPlugin } from "grpc-plugin/src/index.ts";