UNPKG

@camunda8/sdk

Version:

[![NPM](https://nodei.co/npm/@camunda8/sdk.png)](https://www.npmjs.com/package/@camunda8/sdk)

23 lines (22 loc) 746 B
import { Characteristics, State } from './ConnectionFactory'; import { GrpcClient, GrpcClientCtor } from './GrpcClient'; import { StatefulLogInterceptor } from './StatefulLogInterceptor'; export declare class GrpcMiddleware { blocking: boolean; state: State; log: StatefulLogInterceptor; private grpcClient; private characteristics; private blockingTimer?; constructor({ characteristics, config, log, }: { characteristics: Characteristics; config: GrpcClientCtor; log: StatefulLogInterceptor; }); getGrpcClient: () => GrpcClient; close: () => Promise<void>; private createInterceptedGrpcClient; private emitError; private emitReady; private handleExceptionalGrpc; }