MCPcopy
hub / github.com/alibaba/hooks / LoadResult

Interface LoadResult

packages/hooks/src/useExternal/index.ts:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28export type Status = 'unset' | 'loading' | 'ready' | 'error';
29
30interface LoadResult {
31 ref: Element;
32 status: Status;
33}
34
35type LoadExternal = <T>(path: string, props?: Partial<T>) => LoadResult;
36

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…