* Returns a method that resolves the numbers 0 through 6. * @return {function():!Promise }
()
| 1566 | * @return {function():!Promise<number>} |
| 1567 | */ |
| 1568 | function getIncrementingValueFunction() { |
| 1569 | let value = 0; |
| 1570 | return function () { |
| 1571 | return value++; |
| 1572 | }; |
| 1573 | } |
| 1574 | |
| 1575 | /** |
| 1576 | * Returns a method that resolves the numbers 0 through 6. |