MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / done

Function done

lib/web/tern/tern.js:345–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343
344 function waitOnFetch(srv, timeBudget, c) {
345 var done = function() {
346 srv.off("everythingFetched", done);
347 clearTimeout(timeout);
348 analyzeAll(srv, timeBudget, c);
349 };
350 srv.on("everythingFetched", done);
351 var timeout = setTimeout(done, srv.options.fetchTimeout);
352 }

Callers

nothing calls this directly

Calls 2

analyzeAllFunction · 0.85
offMethod · 0.45

Tested by

no test coverage detected