MCPcopy Index your code
hub / github.com/ternjs/tern / done

Function done

lib/tern.js:352–356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350
351 function waitOnFetch(srv, timeBudget, c) {
352 var done = function() {
353 srv.off("everythingFetched", done);
354 clearTimeout(timeout);
355 analyzeAll(srv, timeBudget, c);
356 };
357 srv.on("everythingFetched", done);
358 var timeout = setTimeout(done, srv.options.fetchTimeout);
359 }

Callers

nothing calls this directly

Calls 1

analyzeAllFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…