Skip to content

VM Code SDK v2 / PageWaitForFunctionOptions

Type alias: PageWaitForFunctionOptions

PageWaitForFunctionOptions: object & TimeoutOption

Type declaration

polling?

optional polling: number | "raf"

If polling is 'raf', then pageFunction is constantly executed in requestAnimationFrame callback. If polling is a number, then it is treated as an interval in milliseconds at which the function would be executed. Defaults to raf.