Hierarchy

  • PollingOptions

Properties

immediate: boolean

if true it will run the asyncFunction immediately before looping. Defaults to true.

intervalMs: number

milliseconds between calls to the asyncFunction, defaults to a minute.

onError: ((err: unknown) => void)

Type declaration

    • (err: unknown): void
    • The error handler. Defaults to console.error

      Parameters

      • err: unknown

      Returns void

Generated using TypeDoc