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

Function fetchHints

external/.scrollLibs.js:13803–13811  ·  view source on GitHub ↗
(hint, cm, options, callback)

Source from the content-addressed store, hash-verified

13801 }
13802
13803 function fetchHints(hint, cm, options, callback) {
13804 if (hint.async) {
13805 hint(cm, callback, options)
13806 } else {
13807 var result = hint(cm, options)
13808 if (result && result.then) result.then(callback)
13809 else callback(result)
13810 }
13811 }
13812
13813 function resolveAutoHints(cm, pos) {
13814 var helpers = cm.getHelpers(pos, "hint"),

Callers 2

.scrollLibs.jsFile · 0.85
runFunction · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected