- Preparing search index...
- The search index is not available
bittydash
- polling(checker: (() => boolean), interval?: number, timeout?: number): Promise<void>
-
Parameters
-
checker: (() => boolean)
-
- (): boolean
-
Returns boolean
-
interval: number = 50
-
timeout: number = 5000
Returns Promise<void>
Description
Poll the specified function and exit the poll if it meets the requirements.