MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / onResourceListChange

Method onResourceListChange

packages/workspace/src/workspace.ts:181–186  ·  view source on GitHub ↗
(fn: (resourceList: IPublicResourceList) => void)

Source from the content-addressed store, hash-verified

179 }
180
181 onResourceListChange(fn: (resourceList: IPublicResourceList) => void): () => void {
182 this.emitter.on(CHANGE_EVENT, fn);
183 return () => {
184 this.emitter.off(CHANGE_EVENT, fn);
185 };
186 }
187
188 onWindowRendererReady(fn: () => void): IPublicTypeDisposable {
189 this.emitter.on(EVENT.WINDOW_RENDER_READY, fn);

Callers

nothing calls this directly

Calls 2

onMethod · 0.65
offMethod · 0.65

Tested by

no test coverage detected