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

Function waitForThing

packages/utils/src/misc.ts:56–62  ·  view source on GitHub ↗
(obj: any, path: string)

Source from the content-addressed store, hash-verified

54}
55
56export function waitForThing(obj: any, path: string): Promise<any> {
57 const thing = get(obj, path);
58 if (thing) {
59 return Promise.resolve(thing);
60 }
61 return _innerWaitForThing(obj, path);
62}
63
64export function arrShallowEquals(arr1: any[], arr2: any[]): boolean {
65 if (!Array.isArray(arr1) || !Array.isArray(arr2)) return false;

Callers 1

misc.test.tsFile · 0.90

Calls 3

_innerWaitForThingFunction · 0.85
resolveMethod · 0.80
getFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…