MCPcopy Create free account
hub / github.com/dfinity/orbit / constructor

Method constructor

apps/wallet/src/core/ic-agent.core.ts:9–13  ·  view source on GitHub ↗
(
    private agent: HttpAgent = new HttpAgent({ host: appInitConfig.apiGatewayUrl.toString() }),
  )

Source from the content-addressed store, hash-verified

7 private isReady = false;
8
9 constructor(
10 private agent: HttpAgent = new HttpAgent({ host: appInitConfig.apiGatewayUrl.toString() }),
11 ) {
12 this.agent = agent;
13 }
14
15 async init(): Promise<void> {
16 if (this.isReady) {

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected