MCPcopy
hub / github.com/winjs/winjs / waitForDeferredAction_handler

Function waitForDeferredAction_handler

tests/TestLib/Helper.ListView.ts:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 return function (x?) {
130 return new WinJS.Promise(function (complete) {
131 function waitForDeferredAction_handler() {
132 listView.removeEventListener("accessibilityannotationcomplete", waitForDeferredAction_handler, false);
133 WinJS.Utilities._setImmediate(function () {
134 complete(x);
135 });
136 }
137
138 listView.addEventListener("accessibilityannotationcomplete", waitForDeferredAction_handler, false);
139 });

Callers

nothing calls this directly

Calls 2

removeEventListenerMethod · 0.65
completeFunction · 0.50

Tested by

no test coverage detected