MCPcopy Create free account
hub / github.com/UI5/webcomponents / _resolveTaskPromise

Function _resolveTaskPromise

packages/base/src/Render.ts:135–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133};
134
135const _resolveTaskPromise = () => {
136 if (!invalidatedWebComponents.isEmpty()) {
137 // More updates are pending. Resolve will be called again
138 return;
139 }
140
141 if (renderTaskPromiseResolve) {
142 renderTaskPromiseResolve();
143 renderTaskPromiseResolve = undefined;
144 renderTaskPromise = undefined;
145 }
146};
147
148/**
149 * Re-renders all UI5 Elements on the page, with the option to specify filters to rerender only some components.

Callers 1

scheduleRenderTaskFunction · 0.85

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…