Jarek Radosz
09e4eb4137
DEV: Introduce a @debounce(delay)
decorator (#18667)
An example from tests:
```js
class TestStub {
counter = 0;
@debounce(50)
increment() {
this.counter++;
}
}
const stub = new TestStub();
stub.increment();
stub.increment();
stub.increment();
await settled();
assert.strictEqual(stub.counter, 1);
```
2022-10-19 20:43:58 +02:00
..
2022-10-16 23:57:28 +02:00
2022-07-06 10:37:54 +02:00
2022-10-19 20:43:58 +02:00
2022-10-19 20:43:58 +02:00
2022-07-19 10:00:59 +01:00
2022-10-16 23:57:28 +02:00
2022-10-17 09:38:20 +01:00
2022-10-16 23:57:28 +02:00
2022-08-17 22:39:52 +01:00
2022-06-18 00:18:22 +02:00
2022-10-18 09:40:29 -07:00
2022-10-17 11:40:03 -07:00
2022-10-16 23:57:28 +02:00
2022-10-16 23:57:28 +02:00
2022-05-03 13:06:19 -04:00
2021-08-04 22:04:58 +02:00
2022-10-18 18:20:10 +01:00
2021-01-22 10:41:01 -05:00
2022-08-22 09:56:39 +01:00
2022-03-28 17:18:56 +01:00
2022-09-29 09:24:33 +10:00
2022-10-18 09:33:39 +08:00