MCPcopy Create free account
hub / github.com/subquery/subql / apiConnect

Method apiConnect

packages/node-core/src/api.service.ts:27–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25export interface IApiConnectionSpecific<A = any, SA = any, B extends Array<any> = any[]> extends IApi<A, SA, B> {
26 handleError(error: Error): ApiConnectionError;
27 apiConnect(): Promise<void>;
28 apiDisconnect(): Promise<void>;
29 updateChainTypes?(chainTypes: unknown): Promise<void>;
30}

Callers 2

connectToApiMethod · 0.65
tryReconnectMethod · 0.65

Implementers 1

ApiPromiseConnectionpackages/node/src/indexer/apiPromise.c

Calls

no outgoing calls

Tested by

no test coverage detected