MCPcopy Index your code
hub / github.com/microsoft/SandDance / markExecuted

Function markExecuted

docs/app/js/sanddance-app.js:20930–20936  ·  view source on GitHub ↗
(time)

Source from the content-addressed store, hash-verified

20928 if (options && typeof options.trailing === "boolean") trailing = options.trailing;
20929 if (options && typeof options.maxWait === "number" && !isNaN(options.maxWait)) maxWait = options.maxWait;
20930 var markExecuted = function(time) {
20931 if (timeoutId) {
20932 _this.clearTimeout(timeoutId);
20933 timeoutId = null;
20934 }
20935 lastExecuteTime = time;
20936 };
20937 var invokeFunction = function(time) {
20938 markExecuted(time);
20939 lastResult = func.apply(_this._parent, lastArgs);

Callers 2

invokeFunctionFunction · 0.85
cancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected