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

Method checkWindowQueue

packages/workspace/src/workspace.ts:127–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 checkWindowQueue() {
128 if (!this.windowQueue || !this.windowQueue.length) {
129 return;
130 }
131
132 const windowInfo = this.windowQueue.shift();
133 if (windowInfo instanceof Resource) {
134 this.openEditorWindowByResource(windowInfo);
135 } else if (windowInfo) {
136 this.openEditorWindow(windowInfo.name, windowInfo.title, windowInfo.options, windowInfo.viewName);
137 }
138 }
139
140 async initWindow() {
141 if (!this.defaultResourceType || this.enableAutoOpenFirstWindow === false) {

Callers 2

openEditorWindowMethod · 0.95

Calls 2

openEditorWindowMethod · 0.95

Tested by

no test coverage detected