Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "index"

Index

Type aliases

ActionCallResult

ActionCallResult: ValueResult | ErrorResult

GetRetryTimeout

GetRetryTimeout: (result?: RetryResult) => unknown

Type declaration

RetryAction

RetryAction: (...args: unknown[]) => Promise<unknown> | unknown

Type declaration

    • (...args: unknown[]): Promise<unknown> | unknown
    • Parameters

      • Rest ...args: unknown[]

      Returns Promise<unknown> | unknown

RetryTest

RetryTest: (value?: unknown, result?: RetryResult) => boolean

Type declaration

    • Parameters

      Returns boolean

RetryTimeout

RetryTimeout: number | GetRetryTimeout

Functions

getPromiseField

  • Return value of promise field of the passed object.

    author

    Denis Sikuler

    Parameters

    Returns Promise<unknown>

    Value of promise field of the passed object.

retry

  • Call specified function and repeat calls depending on settings.

    author

    Denis Sikuler

    Parameters

    Returns RetryResult

    Object that can be used to observe and control the process of calls repeating.

Generated using TypeDoc