Skip to content

feat-req: isRetryable support promise #100

@wxqqh

Description

@wxqqh

I hope to support Promise callbacks within isRetryable, allowing it to obtain the status of other asynchronous data for judgment

export interface RetryOpts extends BaseRetryOpts {
  isRetryable?: (err: Error) => boolean | Promise<boolean>
}

export interface RetryOpts extends BaseRetryOpts {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions