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

Function resolved

external/.scrollLibs.js:13817–13827  ·  view source on GitHub ↗
(cm, callback, options)

Source from the content-addressed store, hash-verified

13815 words
13816 if (helpers.length) {
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
13829 resolved.supportsSelection = true
13830 return resolved

Callers

nothing calls this directly

Calls 2

applicableHelpersFunction · 0.85
runFunction · 0.70

Tested by

no test coverage detected