MCPcopy Create free account
hub / github.com/microsoft/SandDance / ready

Function ready

docs/app/js/sanddance-app.js:122047–122058  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122045 });
122046 },
122047 ready () {
122048 const loader = this;
122049 return new Promise((accept)=>{
122050 function poll(value3) {
122051 if (!loader.pending()) accept(value3);
122052 else setTimeout(()=>{
122053 poll(true);
122054 }, 10);
122055 }
122056 poll(false);
122057 });
122058 }
122059};
122060function boundStroke(bounds1, item, miter) {
122061 if (item.stroke && item.opacity !== 0 && item.strokeOpacity !== 0) {

Callers

nothing calls this directly

Calls 1

pollFunction · 0.70

Tested by

no test coverage detected