MCPcopy Create free account
hub / github.com/breck7/scroll / run

Function run

external/.scrollLibs.js:13819–13825  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

13817 var resolved = function (cm, callback, options) {
13818 var app = applicableHelpers(cm, helpers)
13819 function run(i) {
13820 if (i == app.length) return callback(null)
13821 fetchHints(app[i], cm, options, function (result) {
13822 if (result && result.list.length > 0) callback(result)
13823 else run(i + 1)
13824 })
13825 }
13826 run(0)
13827 }
13828 resolved.async = true

Callers 2

resolvedFunction · 0.70
runCommandMethod · 0.70

Calls 2

callbackFunction · 0.85
fetchHintsFunction · 0.85

Tested by

no test coverage detected