Skip to main content

Function: createPollingController()

createPollingController(timeout, pollingInterval): PollingController

Create a polling controller with a custom timeout & interval.

Parameters

timeout: number= 60_000

The timeout period in milliseconds.

pollingInterval: number= 1500

Returns

PollingController

A PollingController with the custom timeout & interval.

Source

@tableland/sdk/src/helpers/await.ts:95