MCPcopy Index your code
hub / github.com/subquery/subql / constructor

Method constructor

packages/node-core/src/configure/NodeConfig.ts:126–129  ·  view source on GitHub ↗
(config: MinConfig, isTest?: boolean)

Source from the content-addressed store, hash-verified

124 }
125
126 constructor(config: MinConfig, isTest?: boolean) {
127 this._config = assign({}, DEFAULT_CONFIG, config) as C;
128 this._isTest = isTest ?? false;
129 }
130
131 get subquery(): string {
132 assert(this._config.subquery);

Callers

nothing calls this directly

Calls 1

assignFunction · 0.90

Tested by

no test coverage detected