MCPcopy
hub / github.com/microsoft/SandDance / innerLoad

Function innerLoad

packages/sanddance-embed/src/sanddance-embed.ts:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 return new Promise((resolve) => {
23
24 const innerLoad = () => {
25 let getPartialInsight: (columns: SandDance.types.Column[]) => Partial<SandDance.specs.Insight>;
26 if (insight) {
27 //TODO make sure that insight columns exist in dataset
28 getPartialInsight = columns => insight;
29 }
30 sandDanceExplorer.load(data, getPartialInsight).then(resolve);
31 };
32
33 const create = () => {
34 SandDanceExplorer.use(FluentUIReact, React, ReactDOM, vega, deck, deck, luma);

Callers 2

createFunction · 0.85
loadFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected