We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c41e6 commit 33c37fbCopy full SHA for 33c37fb
test/unit/debounce.html
@@ -214,7 +214,6 @@
214
215
const testEnqueue = (shouldFlush, done) => {
216
const actualOrder = [];
217
- let i=1;
218
const enqueue = (type, {db, cb} = {}) => {
219
cb = cb || (() => actualOrder.push(cb));
220
db = Polymer.Debouncer.debounce(db, type, cb);
types/lib/utils/debounce.d.ts
@@ -68,6 +68,11 @@ declare namespace Polymer {
68
*/
69
cancel(): void;
70
71
+ /**
72
+ * Cancels a debouncer's async callback.
73
+ */
74
+ _cancelAsync(): void;
75
+
76
/**
77
* Flushes an active debouncer and returns a reference to itself.
78
0 commit comments