Skip to content

async.TypeAlias.RetryFnParams

github-actions[bot] edited this page Jun 8, 2026 · 2 revisions

@zenstone/ts-utils / async / RetryFnParams

Type Alias: RetryFnParams

RetryFnParams = object

Defined in: src/async/index.ts:37

重试回调参数

Properties

attempt

attempt: number

Defined in: src/async/index.ts:39

当前尝试次数(从 1 开始)


error

error: unknown

Defined in: src/async/index.ts:41

触发重试的错误(首次执行时为 undefined)


options

readonly options: RetryOptions

Defined in: src/async/index.ts:43

只读的重试选项

Clone this wiki locally