in src/job_client.ts [54:61]
constructor(restApiClient: RestApiClient) {
/*Codes_SRS_NODE_JOB_CLIENT_16_001: [The `JobClient` constructor shall throw a `ReferenceError` if `restApiClient` is falsy.]*/
if (!restApiClient) throw new ReferenceError('restApiClient cannot be \'' + restApiClient + '\'');
this._restApiClient = restApiClient;
if (this._restApiClient.setOptions) {
this._restApiClient.setOptions({ http: { agent: new Agent({ keepAlive: true }) } });
}
}