@ecp.eth/sdk / core / runAsync
Function: runAsync()
function runAsync<T>(func, options): Promise<T>;
Defined in: packages/sdk/src/core/utils.ts:155
Run an async function with retries and backoff.
Type Parameters
T
T
Parameters
func
(signal?
) => Promise
<T
>
The async function to run. The function receives the signal as a parameter.
options
The options for the function.
Returns
Promise
<T
>
The result of the function.