Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

Predicate<T>: ((canisterId: Principal, requestId: RequestId, status: RequestStatusResponseStatus) => Promise<T>)

Type Parameters

  • T

Type declaration

Functions

  • A strategy that throttle, but using an exponential backoff strategy.

    Parameters

    • startingThrottleInMsec: number

      The throttle in milliseconds to start with.

    • backoffFactor: number

      The factor to multiple the throttle time between every poll. For example if using 2, the throttle will double between every run.

    Returns polling.PollStrategy

Generated using TypeDoc