MCPcopy Index your code
hub / github.com/plotly/dash / inheritAsyncDecorator

Function inheritAsyncDecorator

@plotly/dash-component-plugins/src/dynamicImport.js:30–34  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

28};
29
30export const inheritAsyncDecorator = (target, source) => {
31 Object.defineProperty(target, '_dashprivate_isLazyComponentReady', {
32 get: () => isReady(source)
33 });
34}
35
36export const isReady = target => target &&
37 target._dashprivate_isLazyComponentReady;

Callers

nothing calls this directly

Calls 1

isReadyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…