MCPcopy Create free account
hub / github.com/TruthHun/BookStack / later

Function later

static/word2md/mammoth.browser.js:16307–16311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16305 var context, args, timeout, result;
16306 var previous = 0;
16307 var later = function() {
16308 previous = new Date;
16309 timeout = null;
16310 result = func.apply(context, args);
16311 };
16312 return function() {
16313 var now = new Date;
16314 var remaining = wait - (now - previous);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected