Implements

Constructors

Properties

baseDelay: number = 100
cancel: ((error?) => void)

Type declaration

    • (error?): void
    • Parameters

      • Optional error: Error

      Returns void

cancelToken: "CloudantChangesIteratorCancel" = 'CloudantChangesIteratorCancel'
client: export=
countDown: number
doneResult: IteratorResult<ChangesResult, any> = ...
errorTolerance?: number
expRetryGate: number = ...
inflight: Promise<any> = null
logger: SDKLogger = ...
mode: Mode
pending: number = Number.MAX_VALUE
promisedConfig: Promise<void>
retry: number = 0
since: string
stopped: boolean = false
successTimestamp: number
timeoutPromise: (<T>(delay?, value?, options?) => Promise<T>) = ...

Type declaration

    • <T>(delay?, value?, options?): Promise<T>
    • import {
      setTimeout,
      } from 'timers/promises';

      const res = await setTimeout(100, 'result');

      console.log(res); // Prints 'result'

      Type Parameters

      • T = void

      Parameters

      • Optional delay: number

        The number of milliseconds to wait before fulfilling the promise.

      • Optional value: T

        A value with which the promise is fulfilled.

      • Optional options: TimerOptions

      Returns Promise<T>

      Since

      v15.0.0

transientErrorSuppression: TransientErrorSuppression

Methods

Generated using TypeDoc