MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / waitForSetup

Method waitForSetup

helpers/stork/browser.js:185–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 }
184
185 waitForSetup () {
186 return new Promise( resolve => {
187 if ( this.isSetup ) resolve()
188
189 // Start timer to check for setup
190 const timer = setInterval( () => {
191 if ( this.isSetup ) {
192 clearInterval( timer )
193 resolve()
194 }
195 }, 50 )
196 })
197 }
198
199 loadStorkScript () {
200

Callers 1

setupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected