RetryHandler
Defined in: packages/core/src/resilience/retry-handler.ts:20
Exponential backoff retry mechanism
Constructors
섹션 제목: “Constructors”Constructor
섹션 제목: “Constructor”new RetryHandler():
RetryHandler
Returns
섹션 제목: “Returns”RetryHandler
Methods
섹션 제목: “Methods”createRetryableFunction()
섹션 제목: “createRetryableFunction()”
staticcreateRetryableFunction<T,R>(func,options?): (…args) =>Promise<R>
Defined in: packages/core/src/resilience/retry-handler.ts:69
Type Parameters
섹션 제목: “Type Parameters”T extends any[]
R
Parameters
섹션 제목: “Parameters”func
섹션 제목: “func”(…args) => Promise<R>
options?
섹션 제목: “options?”Partial<RetryOptions> = {}
Returns
섹션 제목: “Returns”(…
args):Promise<R>
Parameters
섹션 제목: “Parameters”args
섹션 제목: “args”…T
Returns
섹션 제목: “Returns”Promise<R>
execute()
섹션 제목: “execute()”
staticexecute<T>(operation,options?):Promise<T>
Defined in: packages/core/src/resilience/retry-handler.ts:30
Type Parameters
섹션 제목: “Type Parameters”T
Parameters
섹션 제목: “Parameters”operation
섹션 제목: “operation”() => Promise<T>
options?
섹션 제목: “options?”Partial<RetryOptions> = {}
Returns
섹션 제목: “Returns”Promise<T>