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

Method register

packages/editor-core/src/editor.ts:245–248  ·  view source on GitHub ↗
(data: any, key?: IPublicTypeEditorValueKey)

Source from the content-addressed store, hash-verified

243 }
244
245 register(data: any, key?: IPublicTypeEditorValueKey): void {
246 this.context.set(key || data, data);
247 this.notifyGot(key || data);
248 }
249
250 async init(config?: EditorConfig, components?: PluginClassSet): Promise<any> {
251 this.config = config || {};

Callers

nothing calls this directly

Calls 2

notifyGotMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected