Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
config: IZeebeOptions,
@optional() client?: ZBClient,
@optional() exporterConfig?: Partial
) {
this._client = client || new ZBClient(config.baseUrl, config);
this._config = config;
this._exporterConfig = exporterConfig;
if (!exporterConfig) {
// tslint:disable-next-line: no-console
console.log(
"warning: no exporterConfig has been provided to Zeebe. getWorkflow and getWorkflows methods won't work. "
);
}
this._exporterClient = new ZBElasticClient(new Configs(exporterConfig));
}
public subscribe(