* Set the module config and combine it with the module defaults. * @param {object} config The combined module config. * @param {boolean} deep Merge module config in deep.
(config, deep)
| 226 | * @param {boolean} deep Merge module config in deep. |
| 227 | */ |
| 228 | setConfig (config, deep) { |
| 229 | this.config = deep ? configMerge({}, this.defaults, config) : Object.assign({}, this.defaults, config); |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Returns a socket object. If it doesn't exist, it's created. |
no test coverage detected