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

Method doFetch

packages/renderer-core/src/utils/data-helper.ts:259–267  ·  view source on GitHub ↗
(innerType: string, innerOptions: any)

Source from the content-addressed store, hash-verified

257 };
258
259 const doFetch = (innerType: string, innerOptions: any) => {
260 doRequest(innerType as any, innerOptions)
261 ?.then((data: any) => {
262 fetchHandler(data, undefined);
263 })
264 .catch((err: Error) => {
265 fetchHandler(undefined, err);
266 });
267 };
268
269 this.dataSourceMap[id].status = DS_STATUS.LOADING;
270 doFetch(type, options);

Callers

nothing calls this directly

Calls 1

doRequestFunction · 0.85

Tested by

no test coverage detected