interface ZBGrpc {
    activateJobsStream: ((req) => Promise<ClientReadableStream<unknown>>);
    channelClosed: boolean;
    client: Client;
    completeJobSync: ((req) => Promise<void>);
    connected: boolean;
    deleteResourceSync: ((deleteResourceRequest) => Promise<Record<string, never>>);
    host: string;
    longPoll?: MaybeTimeDuration;
    streamActivatedJobsStream: ((req) => Promise<ClientReadableStream<unknown>>);
    broadcastSignalSync(signal): Promise<BroadcastSignalResponse>;
    cancelProcessInstanceSync(processInstanceKey): Promise<void>;
    close(timeout?): Promise<void>;
    createProcessInstanceSync(createProcessInstanceRequest): Promise<CreateProcessInstanceResponse>;
    createProcessInstanceWithResultSync(createProcessInstanceWithResultRequest): Promise<CreateProcessInstanceWithResultResponseOnWire>;
    deployResourceSync<T>(resource): Promise<DeployResourceResponse<T>>;
    evaluateDecisionSync(evaluateDecisionRequest): Promise<EvaluateDecisionResponse>;
    failJobSync(failJobRequest): Promise<void>;
    listMethods(): string[];
    migrateProcessInstanceSync(request): Promise<MigrateProcessInstanceResponse>;
    modifyProcessInstanceSync(request): Promise<ModifyProcessInstanceResponse>;
    publishMessageSync(publishMessageRequest): Promise<PublishMessageResponse>;
    resolveIncidentSync(resolveIncidentRequest): Promise<void>;
    runService(fnName, data, fnAnswer): void;
    setVariablesSync(request): Promise<void>;
    throwErrorSync(throwErrorRequest): Promise<void>;
    topologySync(): Promise<TopologyResponse>;
    updateJobRetriesSync(updateJobRetriesRequest): Promise<void>;
    updateJobTimeoutSync(updateJobTimeoutRequest): Promise<void>;
}

Hierarchy (view full)

Properties

activateJobsStream: ((req) => Promise<ClientReadableStream<unknown>>)

Type declaration

    • (req): Promise<ClientReadableStream<unknown>>
    • Parameters

      Returns Promise<ClientReadableStream<unknown>>

channelClosed: boolean = false
client: Client
completeJobSync: ((req) => Promise<void>)

Type declaration

connected: boolean = false
deleteResourceSync: ((deleteResourceRequest) => Promise<Record<string, never>>)

Type declaration

    • (deleteResourceRequest): Promise<Record<string, never>>
    • Parameters

      Returns Promise<Record<string, never>>

host: string
longPoll?: MaybeTimeDuration
streamActivatedJobsStream: ((req) => Promise<ClientReadableStream<unknown>>)

Type declaration

    • (req): Promise<ClientReadableStream<unknown>>
    • Returns Promise<ClientReadableStream<unknown>>

Methods

  • Parameters

    • processInstanceKey: {
          operationReference?: string;
          processInstanceKey: string | number;
      }
      • Optional operationReference?: string
      • processInstanceKey: string | number

    Returns Promise<void>

Generated using TypeDoc