()
| 370 | } |
| 371 | |
| 372 | function PromiseSource() { |
| 373 | const srcPromise = new Promise((resolve, reject) => { |
| 374 | Object.defineProperties(this, { |
| 375 | resolve: { value: resolve, writable: false }, |
| 376 | reject: { value: reject, writable: false }, |
| 377 | }) |
| 378 | }) |
| 379 | Object.defineProperties(this, { |
| 380 | promise: { value: makeQuerablePromise(srcPromise), writable: false }, |
| 381 | }) |
| 382 | } |
| 383 | |
| 384 | /** A debounce is a higher-order function, which is a function that returns another function |
| 385 | * that, as long as it continues to be invoked, will not be triggered. |
nothing calls this directly
no test coverage detected