This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A configuration object for `pollWithExponentialBackoff` | |
*/ | |
interface IPollOptions { | |
/** | |
* A callback that will be run on every poll attempt | |
*/ | |
executor: () => Promise<any> | |
/** | |
* A callback that will be run after each poll attempt to check if further |
OlderNewer