INNER CODE UNIT · JavaScript
IHydra
pnxtech/hydra · index.js:1931
class IHydra extends Hydra {
/**
* @name constructor
*/
constructor() {
super();
}
/**
* @name init
* @summary Initialize Hydra with config object.
* @param {mixed} config - a string with a path to a configuration file or an
* object containing hydra specific keys/values
* @param {boolean} testMode - whether hydra is being started in unit test mode
* @return {object} promise - resolving if init success or rejecting otherwise
*/
init(config, testMode = false) {
return super.init(config, testMode);