MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / init

Method init

packages/designer/src/plugin/plugin.ts:67–72  ·  view source on GitHub ↗
(forceInit?: boolean)

Source from the content-addressed store, hash-verified

65 }
66
67 async init(forceInit?: boolean) {
68 if (this._inited && !forceInit) return;
69 this.logger.log('method init called');
70 await this.config.init?.call(undefined);
71 this._inited = true;
72 }
73
74 async destroy() {
75 if (!this._inited) return;

Callers 1

registerMethod · 0.95

Calls 1

logMethod · 0.65

Tested by

no test coverage detected