UNPKG

zeebe-node

Version:

The Node.js client library for the Zeebe Workflow Automation Engine.

22 lines (21 loc) 714 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; private createInterceptedGrpcClient; private emitError; private emitReady; private handleExceptionalGrpc; }