Skip to main contentFunction: withAsyncPolling()
withAsyncPolling<O, I>(params): (input) => Promise<O["activity"]>
Defined in: async.ts:13
Wraps a request to create a fetcher with built-in async polling support.
Type Parameters
O extends object
I extends object
Parameters
params
refreshIntervalMs?
number
request
(input) => Promise<O>
Returns
Function
Parameters
I
Returns
Promise<O["activity"]>
Deprecated
this function only works with TurnkeyApi.
Use TurnkeyClient and createActivityPoller instead.